Skip to content

Commit

Permalink
refact: pin clippy version based on rust-version
Browse files Browse the repository at this point in the history
This makes it so we don't get unexpected failing lints locally for something that is only introduced in later versions of rust-toolchain.
  • Loading branch information
n-dusan committed Jan 1, 2024
1 parent 739f5db commit 0ba9e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: hustcer/setup-nu@v3
env:
GITHUB_TOKEN: ${{ secrets.STELAE_GITHUB_TOKEN }}

- name: Install Just
uses: extractions/setup-just@v1
env:
Expand All @@ -36,7 +36,7 @@ jobs:
uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@1.70 # Pin based on current `rust-version` in Cargo.toml. IMPORTANT: Upgrade version when `rust-version` changes.
with:
components: rustfmt, clippy

Expand Down

0 comments on commit 0ba9e88

Please sign in to comment.