mirror of
https://github.com/herdrdev/herdr.git
synced 2026-09-22 00:01:06 +00:00
ci: pin rust toolchain to 1.96.1
This commit is contained in:
@@ -38,6 +38,7 @@ permissions:
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||
RUST_TOOLCHAIN_VERSION: 1.96.1
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
@@ -63,8 +64,9 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
|
||||
targets: ${{ matrix.target }}
|
||||
|
||||
- name: Install Zig
|
||||
@@ -146,8 +148,9 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
|
||||
targets: ${{ matrix.target }}
|
||||
|
||||
- name: Install Zig
|
||||
@@ -198,8 +201,9 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
|
||||
targets: x86_64-pc-windows-msvc
|
||||
|
||||
- name: Install Zig
|
||||
|
||||
@@ -12,6 +12,9 @@ on:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
RUST_TOOLCHAIN_VERSION: 1.96.1
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
@@ -59,12 +62,17 @@ jobs:
|
||||
|
||||
- name: Install Rust
|
||||
if: matrix.kind == 'unix'
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
|
||||
components: rustfmt,clippy
|
||||
|
||||
- name: Install Rust
|
||||
if: matrix.kind == 'windows'
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
|
||||
components: rustfmt,clippy
|
||||
targets: x86_64-pc-windows-msvc
|
||||
|
||||
- name: Install Rust tools
|
||||
|
||||
@@ -13,6 +13,7 @@ permissions:
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||
RUST_TOOLCHAIN_VERSION: 1.96.1
|
||||
|
||||
concurrency:
|
||||
group: preview-publish
|
||||
@@ -82,7 +83,10 @@ jobs:
|
||||
|
||||
- name: Install Rust
|
||||
if: steps.plan.outputs.should_publish == 'true'
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
|
||||
components: rustfmt,clippy
|
||||
|
||||
- name: Install Rust tools
|
||||
if: steps.plan.outputs.should_publish == 'true'
|
||||
@@ -150,8 +154,9 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
|
||||
targets: ${{ matrix.target }}
|
||||
|
||||
- name: Install Zig
|
||||
|
||||
@@ -10,6 +10,7 @@ permissions:
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||
RUST_TOOLCHAIN_VERSION: 1.96.1
|
||||
|
||||
jobs:
|
||||
flake-check:
|
||||
@@ -81,8 +82,9 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
|
||||
targets: ${{ matrix.target }}
|
||||
|
||||
- name: Install Zig
|
||||
|
||||
Reference in New Issue
Block a user