Skip to content

Commit 93a0fb6

Browse files
authored
Merge pull request #65 from Samyak2/ci-cd-overhaul
build(ci): use rust-toolchain+rust-cache actions and run all even on err
2 parents 154043b + 0319525 commit 93a0fb6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/lints-and-checks.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,22 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
15+
- uses: dtolnay/rust-toolchain@stable
16+
with:
17+
components: "clippy,rustfmt"
18+
- uses: Swatinem/rust-cache@v2
1519
- name: Check
1620
run: cargo check --verbose
1721
- name: Run tests
1822
run: cargo test --verbose
23+
if: success() || failure()
1924
- name: Format
2025
run: cargo fmt --check
26+
if: success() || failure()
2127
- name: Run Clippy
2228
run: cargo clippy -- -D warnings
29+
if: success() || failure()
2330
- name: Check word lists
2431
run: ./scripts/check_word_lists.sh
32+
if: success() || failure()

0 commit comments

Comments
 (0)