Skip to content

Commit

Permalink
ci(lint): use install-action for spellcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro-Alessio Gierens <[email protected]>
  • Loading branch information
gierens committed Dec 29, 2024
1 parent 268d9de commit 089f53e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,12 @@ jobs:
name: spellcheck
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install the Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install libclang-dev and hunspell
run: sudo apt update && sudo apt install libclang-dev hunspell -y
- name: Install cargo-spellcheck
run: cargo install cargo-spellcheck
- uses: taiki-e/[email protected]
with:
tool: cargo-spellcheck
- name: Check spelling
run: cargo spellcheck --cfg=.spellcheck.toml --code 1

Expand Down

0 comments on commit 089f53e

Please sign in to comment.