@@ -24,11 +24,12 @@ jobs:
2424 - uses : actions/checkout@v4
2525 with :
2626 submodules : true
27- - uses : actions-rs/ toolchain@v1
27+ - uses : dtolnay/rust- toolchain@master
2828 with :
2929 toolchain : ${{ matrix.rust }}
3030 components : rustfmt
31- profile : minimal
31+ - name : " Set rustup profile"
32+ run : rustup set profile minimal
3233 - uses : arduino/setup-protoc@v3
3334 - name : Test
3435 run : ./scripts/test.sh
3839 - uses : actions/checkout@v4
3940 with :
4041 submodules : true
41- - uses : actions-rs/ toolchain@v1
42+ - uses : dtolnay/rust- toolchain@stable
4243 with :
43- toolchain : stable
4444 components : rustfmt
45- profile : minimal
4645 - uses : arduino/setup-protoc@v3
4746 - uses : actions-rs/cargo@v1
4847 with :
5756 runs-on : ubuntu-latest
5857 steps :
5958 - uses : actions/checkout@v4
60- - uses : actions-rs/ toolchain@v1
59+ - uses : dtolnay/rust- toolchain@nightly
6160 with :
62- toolchain : nightly-2024-02-07
6361 components : rustfmt
64- override : true
6562 - name : external-type-check
6663 run : |
6764 cargo install cargo-check-external-types
7673 - uses : actions/checkout@v4
7774 with :
7875 submodules : true
79- - uses : actions-rs/ toolchain@v1
76+ - uses : dtolnay/rust- toolchain@stable
8077 with :
81- toolchain : stable
8278 components : rustfmt
83- profile : minimal
8479 - uses : arduino/setup-protoc@v3
8580 - name : Build
8681 run : |
9287 - uses : actions/checkout@v4
9388 with :
9489 submodules : true
95- - uses : actions-rs/toolchain@v1
96- with :
97- profile : minimal
98- toolchain : 1.65.0
99- override : true
90+ 10091 - name : Patch dependencies versions # some dependencies bump MSRV without major version bump
10192 run : ./scripts/patch_dependencies.sh
10293 - name : Run tests
@@ -117,11 +108,9 @@ jobs:
117108 runs-on : ubuntu-latest
118109 steps :
119110 - uses : actions/checkout@v4
120- - uses : actions-rs/ toolchain@v1
111+ - uses : dtolnay/rust- toolchain@nightly
121112 with :
122- toolchain : nightly
123113 components : rustfmt
124- override : true
125114 - uses : arduino/setup-protoc@v3
126115 - name : doc
127116 run : cargo doc --no-deps --all-features
@@ -136,11 +125,10 @@ jobs:
136125 - uses : actions/checkout@v4
137126 with :
138127 submodules : true
139- - uses : actions-rs/ toolchain@v1
128+ - uses : dtolnay/rust- toolchain@stable
140129 with :
141130 toolchain : stable
142131 components : rustfmt,llvm-tools-preview
143- override : true
144132 - uses : arduino/setup-protoc@v3
145133 - name : cargo install cargo-llvm-cov
146134 uses : taiki-e/install-action@cargo-llvm-cov
0 commit comments