aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-artifacts-manual.yml10
-rw-r--r--.github/workflows/ci.yml12
-rw-r--r--.github/workflows/preview.yml9
-rw-r--r--.github/workflows/release.yml4
4 files changed, 27 insertions, 8 deletions
diff --git a/.github/workflows/build-artifacts-manual.yml b/.github/workflows/build-artifacts-manual.yml
index 320526ef..3896138c 100644
--- a/.github/workflows/build-artifacts-manual.yml
+++ b/.github/workflows/build-artifacts-manual.yml
@@ -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
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1a3f723b..ca1ebce8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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
diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml
index 1adfcc98..fabb2edc 100644
--- a/.github/workflows/preview.yml
+++ b/.github/workflows/preview.yml
@@ -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
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4d1e256d..2d07a8f8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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