Skip to content

Commit bfe6ebd

Browse files
authored
Add Harper workflow for grammar and style checks
1 parent d5e771c commit bfe6ebd

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/harper.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Harper
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
harper:
9+
name: Grammar and Style Check
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v6
15+
16+
- name: Install Rust
17+
uses: dtolnay/rust-toolchain@stable
18+
19+
- name: Install Harper CLI
20+
run: cargo install harper-cli --locked
21+
22+
- name: Run Harper
23+
run: harper-cli lint docs src/pages

0 commit comments

Comments
 (0)