1818 runs-on : ubuntu-latest
1919 steps :
2020 - uses : actions/checkout@v4
21- - uses : dtolnay/rust-toolchain@nightly
21+ - uses : dtolnay/rust-toolchain@master
2222 with :
23+ toolchain : nightly-2025-12-19
2324 components : rustfmt
2425 - run : cargo fmt --all -- --check
2526
@@ -28,17 +29,16 @@ jobs:
2829 runs-on : ubuntu-latest
2930 steps :
3031 - uses : actions/checkout@v4
31- - uses : dtolnay/rust-toolchain@nightly
32+ - uses : dtolnay/rust-toolchain@master
3233 with :
34+ toolchain : nightly-2025-12-19
3335 components : clippy
3436 - name : Install protoc
3537 uses : taiki-e/install-action@v2
3638 with :
3739 tool : protoc@${{ env.PROTOC_VERSION }}
3840 - name : Cache Rust dependencies
3941 uses : Swatinem/rust-cache@v2
40- with :
41- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
4242 - name : Run Clippy
4343 run : cargo clippy --all-targets -- -D warnings
4444
@@ -47,15 +47,15 @@ jobs:
4747 runs-on : ubuntu-latest
4848 steps :
4949 - uses : actions/checkout@v4
50- - uses : dtolnay/rust-toolchain@nightly
50+ - uses : dtolnay/rust-toolchain@master
51+ with :
52+ toolchain : nightly-2025-12-19
5153 - name : Install protoc
5254 uses : taiki-e/install-action@v2
5355 with :
5456 tool : protoc@${{ env.PROTOC_VERSION }}
5557 - name : Cache Rust dependencies
5658 uses : Swatinem/rust-cache@v2
57- with :
58- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
5959 - name : Build project
6060 run : cargo build --all-targets --verbose
6161 - name : Run tests
0 commit comments