Skip to content

Commit

Permalink
Merge pull request #65 from Samyak2/ci-cd-overhaul
Browse files Browse the repository at this point in the history
build(ci): use rust-toolchain+rust-cache actions and run all even on err
  • Loading branch information
Samyak2 authored Feb 27, 2024
2 parents 154043b + 0319525 commit 93a0fb6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/lints-and-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: "clippy,rustfmt"
- uses: Swatinem/rust-cache@v2
- name: Check
run: cargo check --verbose
- name: Run tests
run: cargo test --verbose
if: success() || failure()
- name: Format
run: cargo fmt --check
if: success() || failure()
- name: Run Clippy
run: cargo clippy -- -D warnings
if: success() || failure()
- name: Check word lists
run: ./scripts/check_word_lists.sh
if: success() || failure()

0 comments on commit 93a0fb6

Please sign in to comment.