Skip to content

Commit

Permalink
Fix yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
dboreham committed Oct 31, 2024
1 parent a3e4426 commit 60d3bb9
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ on:

jobs:
lint-checks:
name: Run code checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run checks on project
uses: dtolnay/rust-toolchain@stable
components: clippy, rustfmt
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy --workspace --tests -- -D warnings
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
components: clippy, rustfmt
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy --workspace --tests -- -D warnings

0 comments on commit 60d3bb9

Please sign in to comment.