Skip to content

Commit

Permalink
ci: use pinned nightly
Browse files Browse the repository at this point in the history
otherwise we unnecessarily install two different toolchains...
  • Loading branch information
kleinesfilmroellchen committed Oct 2, 2024
1 parent e9e2974 commit 93c8a8b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2024-09-12
components: rust-src, miri
- name: Setup Miri
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2024-09-12
- name: Install target toolchain
run: rustup target add ${{ matrix.target }}
- name: Install just
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2024-09-12
- name: Output Rust version to file
run: cargo --version > rust-version
- uses: actions/cache@v4
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2024-09-12
components: clippy
- name: Check style
uses: actions-rs/clippy-check@v1.0.7
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2024-09-12
components: rustfmt
- name: Check code format
run: cargo fmt --all --check --verbose
2 changes: 1 addition & 1 deletion .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2024-09-12
profile: minimal
- name: Install Wasm target
run: rustup target add wasm32-unknown-unknown
Expand Down

0 comments on commit 93c8a8b

Please sign in to comment.