From 089f53e6b63fe2f1db0398546df2a0709e457178 Mon Sep 17 00:00:00 2001 From: Sandro-Alessio Gierens Date: Sun, 29 Dec 2024 11:22:48 +0100 Subject: [PATCH] ci(lint): use install-action for spellcheck Signed-off-by: Sandro-Alessio Gierens --- .github/workflows/lint.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b8de407..b988905 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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/install-action@v2.47.0 + with: + tool: cargo-spellcheck - name: Check spelling run: cargo spellcheck --cfg=.spellcheck.toml --code 1