Skip to content

Commit

Permalink
pin rust version to 1.81.0 in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Oct 29, 2024
1 parent ebb3ab5 commit d2d9ace
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
toolchain: [stable]
toolchain: [1.81.0]
target:
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
run-integration-tests: true
supports-nix: true
- os: macos-latest # aarch64
toolchain: stable
toolchain: 1.81.0
target: aarch64-apple-darwin
use-cross: false
run-integration-tests: true
Expand All @@ -88,7 +88,7 @@ jobs:
if: ${{ matrix.target == 'x86_64-unknown-linux-musl'}}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@1.81.0
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
Expand Down Expand Up @@ -429,9 +429,9 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@1.81.0
with:
toolchain: stable
toolchain: 1.81.0
target: wasm32-unknown-unknown

- uses: actions/setup-node@v4
Expand All @@ -454,9 +454,9 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@1.81.0
with:
toolchain: stable
toolchain: 1.81.0
components: rustfmt

- run: cargo fmt --all -- --check
Expand All @@ -470,9 +470,9 @@ jobs:
# uses: actions/checkout@v4
#
# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@stable
# uses: dtolnay/rust-toolchain@1.81.0
# with:
# toolchain: stable
# toolchain: 1.81.0
#
# - name: Install cargo-deny
# run: |
Expand All @@ -493,9 +493,9 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@1.81.0
with:
toolchain: stable
toolchain: 1.81.0
components: clippy

- name: Handle Rust dependencies caching
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- x86_64-apple-darwin
- aarch64-apple-darwin
- x86_64-pc-windows-msvc
toolchain: [stable]
toolchain: [1.81.0]
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@1.81.0
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.81.0
target: wasm32-unknown-unknown
profile: minimal
override: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- x86_64-apple-darwin
- aarch64-apple-darwin
- x86_64-pc-windows-msvc
toolchain: [stable]
toolchain: [1.81.0]
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
Expand All @@ -44,7 +44,7 @@ jobs:
fetch-depth: 0

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@1.81.0
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.81.0
target: wasm32-unknown-unknown
profile: minimal
override: true
Expand Down

0 comments on commit d2d9ace

Please sign in to comment.