Skip to content

Commit 6fce699

Browse files
authored
chore: add rust-toolchain.toml (#771)
1 parent e5a8c0b commit 6fce699

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/test32bit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
- name: Install rust tooling for 32 bit builds
3939
run: |
4040
rustup target install i686-unknown-linux-gnu
41+
- name: Install rust toolchain
42+
run: |
43+
rustup toolchain install
4144
- name: cargo check
4245
run: |
4346
cargo hack check --all-targets --target=i686-unknown-linux-gnu --feature-powerset

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
- uses: taiki-e/install-action@cargo-hack
3434
- run: sudo apt-get update -y
3535
if: matrix.os == 'ubuntu-24.04'
36+
- name: update toolchain
37+
run: rustup toolchain install
3638
- name: cargo check (powerset)
3739
run: cargo hack check --feature-powerset --no-dev-deps
3840
- name: cargo check examples (powerset)
@@ -74,6 +76,8 @@ jobs:
7476
components: clippy
7577
- uses: Swatinem/[email protected]
7678
- uses: taiki-e/install-action@cargo-hack
79+
- name: update toolchain
80+
run: rustup toolchain install
7781
- name: clippy (all targets, feature powerset)
7882
run: cargo hack clippy --all-targets --feature-powerset -- -D warnings
7983

rust-toolchain.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[toolchain]
2+
channel = "1.87.0"
3+
components = [ "rustfmt", "clippy" ]
4+
targets = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
5+
profile = "minimal"

0 commit comments

Comments
 (0)