File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,11 +23,17 @@ jobs:
2323 strategy :
2424 matrix :
2525 os : [ubuntu-26.04, macos-latest]
26+ env :
27+ RUSTUP_TOOLCHAIN : 1.85.0
2628 steps :
2729 - name : Checkout
2830 uses : actions/checkout@v6
31+ - name : " Install Rust 1.85.0"
32+ uses : dtolnay/rust-toolchain@1.85.0
2933 - name : " Use cache"
3034 uses : Swatinem/rust-cache@v2
35+ with :
36+ shared-key : msrv-workspace
3137 - name : Set up nix
3238 uses : ./.github/actions/setup-nix
3339 - name : " Build and test"
Original file line number Diff line number Diff line change @@ -23,11 +23,17 @@ jobs:
2323 strategy :
2424 matrix :
2525 os : [ubuntu-26.04, macos-latest]
26+ env :
27+ RUSTUP_TOOLCHAIN : 1.85.0
2628 steps :
2729 - name : Checkout
2830 uses : actions/checkout@v6
31+ - name : " Install Rust 1.85.0"
32+ uses : dtolnay/rust-toolchain@1.85.0
2933 - name : " Use cache"
3034 uses : Swatinem/rust-cache@v2
35+ with :
36+ shared-key : msrv-workspace
3137 - name : Set up nix
3238 uses : ./.github/actions/setup-nix
3339 - name : " Build and test"
Original file line number Diff line number Diff line change @@ -23,11 +23,17 @@ jobs:
2323 strategy :
2424 matrix :
2525 os : [ubuntu-26.04, macos-latest]
26+ env :
27+ RUSTUP_TOOLCHAIN : 1.85.0
2628 steps :
2729 - name : Checkout
2830 uses : actions/checkout@v6
31+ - name : " Install Rust 1.85.0"
32+ uses : dtolnay/rust-toolchain@1.85.0
2933 - name : " Use cache"
3034 uses : Swatinem/rust-cache@v2
35+ with :
36+ shared-key : msrv-workspace
3137 - name : Set up nix
3238 uses : ./.github/actions/setup-nix
3339 - name : " Build and test"
Original file line number Diff line number Diff line change @@ -23,11 +23,17 @@ jobs:
2323 strategy :
2424 matrix :
2525 os : [ubuntu-26.04, macos-latest]
26+ env :
27+ RUSTUP_TOOLCHAIN : 1.85.0
2628 steps :
2729 - name : Checkout
2830 uses : actions/checkout@v6
31+ - name : " Install Rust 1.85.0"
32+ uses : dtolnay/rust-toolchain@1.85.0
2933 - name : " Use cache"
3034 uses : Swatinem/rust-cache@v2
35+ with :
36+ shared-key : msrv-workspace
3137 - name : Set up nix
3238 uses : ./.github/actions/setup-nix
3339 - name : " Build and test"
Original file line number Diff line number Diff line change 3535 echo "$(nix build .#nginx-with-stream --print-out-paths --no-link)/bin" >> $GITHUB_PATH
3636 - name : " Use cache"
3737 uses : Swatinem/rust-cache@v2
38+ with :
39+ shared-key : ${{ matrix.rust == 'stable' && 'stable-workspace' || matrix.rust == '1.85.0' && 'msrv-workspace' || '' }}
3840 - name : Run tests
3941 run : RUST_LOG=debug bash contrib/test.sh
4042
You can’t perform that action at this time.
0 commit comments