File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,17 @@ jobs:
24
24
~/.cargo/git/db/
25
25
target/
26
26
key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
27
+
28
+ - name : Retrieve Rust version
29
+ id : rust-version
30
+ run : echo "rust-version=$(grep '^rust ' .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
31
+ shell : bash
27
32
28
33
- name : Set up rust toolchain
29
34
uses : actions-rust-lang/setup-rust-toolchain@v1
30
35
with :
31
36
components : " clippy, rustfmt"
32
- toolchain : 1.83
37
+ toolchain : ${{ steps.rust-version.outputs.rust-version }}
33
38
34
39
- name : Add wasm32-wasi target
35
40
run : rustup target add wasm32-wasip1
Original file line number Diff line number Diff line change @@ -24,10 +24,15 @@ jobs:
24
24
target/
25
25
key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
26
26
27
+ - name : Retrieve Rust version
28
+ id : rust-version
29
+ run : echo "rust-version=$(grep '^rust ' .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
30
+ shell : bash
31
+
27
32
- name : Set up Rust tool chain
28
33
uses : actions-rust-lang/setup-rust-toolchain@v1
29
34
with :
30
- toolchain : 1.83
35
+ toolchain : ${{ steps.rust-version.outputs.rust-version }}
31
36
32
37
- name : Add wasm32-wasi target
33
38
run : rustup target add wasm32-wasip1
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
29
29
## [ 1.0.6] - Scheduled
30
30
31
31
### Changed
32
- - Remove hard coded Fast ID in fastly.tom
33
- - Updated README to better describe what Trusted Server does and high-level goal
34
-
32
+ - Remove hard coded Fast ID in fastly.tom
33
+ - Updated README to better describe what Trusted Server does and high-level goal
34
+ - Use Rust toolchain version from .tool-versions for GitHub actions
35
35
36
36
## [ 1.0.5] - 2025-05-19
37
37
You can’t perform that action at this time.
0 commit comments