Remove unused import #398
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Spellcheck | |
on: [push, pull_request] | |
jobs: | |
rustfmt: | |
name: Spellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache cargo-spellcheck | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/.crates.toml | |
~/.cargo/.crates2.json | |
~/.cargo/bin/cargo-spellcheck | |
key: cargo-spellcheck | |
- name: Install libclang-dev | |
run: sudo apt-get install libclang-dev | |
- name: Install cargo-spellcheck | |
run: cargo install cargo-spellcheck --locked | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Spellcheck | |
run: cargo spellcheck check -m 1 2>/dev/null | |
- name: Run Spellcheck on CHANGELOG.md | |
run: cargo spellcheck check -m 1 CHANGELOG.md 2>/dev/null |