Skip to content

Install cargo spell check #89

Install cargo spell check

Install cargo spell check #89

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: cargo test --verbose
# cargo_check:
#
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v2
# - name: Install cargo-sort
# run: cargo install --locked cargo-sort
# - run: cargo sort -w -c
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install cargo-spellcheck
run: cargo install cargo-binstall
run: cargo binstall cargo-spellcheck

Check failure on line 46 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 46, Col: 7): 'run' is already defined
- run: cargo spellcheck -m 99 --cfg=.github/workflows/spellchecker.cfg