Skip to content

Commit

Permalink
ci: pin nightly toolchain to 2024-03-24 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka authored Mar 25, 2024
1 parent 637e214 commit ab416f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
CARGO_TERM_COLOR: always

RUST_NIGHTLY_TOOLCHAIN: nightly-2024-03-24

jobs:
machete:
Expand Down Expand Up @@ -70,12 +70,12 @@ jobs:
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN }}
components: rustfmt

- name: Run rustfmt
run: |
cargo +nightly fmt --all -- --check
cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest

Expand All @@ -88,7 +88,7 @@ jobs:
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN }}
components: clippy

- name: Clippy check
Expand Down

0 comments on commit ab416f9

Please sign in to comment.