@@ -50,11 +50,10 @@ jobs:
5050 run : dotnet --info
5151
5252 - name : Install latest ${{ matrix.toolchain }}
53- uses : dtolnay/rust-toolchain@master
53+ uses : dtolnay/rust-toolchain@stable
5454 with :
5555 target : ${{ matrix.target }}
5656 toolchain : ${{ matrix.toolchain }}
57- override : true
5857
5958 - name : Build
6059 run : cargo build --target ${{ matrix.target }} --no-default-features --features "nethost-download $("net" + "${{ matrix.dotnet }}".replace(".", "_"))"
@@ -76,11 +75,10 @@ jobs:
7675 - uses : actions/checkout@v4
7776
7877 - name : Install latest ${{ matrix.toolchain }}
79- uses : dtolnay/rust-toolchain@master
78+ uses : dtolnay/rust-toolchain@stable
8079 with :
8180 target : ${{ matrix.target }}
8281 toolchain : ${{ matrix.toolchain }}
83- override : true
8482
8583 - name : Install cross
8684 # temporary fix, see cross-rs/cross#1561
9896 steps :
9997 - uses : actions/checkout@v4
10098 - name : Install latest ${{ matrix.toolchain }}
101- uses : dtolnay/rust-toolchain@master
99+ uses : dtolnay/rust-toolchain@stable
102100 with :
103101 toolchain : ${{ matrix.toolchain }}
104- override : true
105102 - name : Build .NET project for '${{ matrix.example }}'
106103 working-directory : ./examples/${{ matrix.example }}/ExampleProject
107104 run : dotnet build
@@ -118,11 +115,9 @@ jobs:
118115 steps :
119116 - uses : actions/checkout@v4
120117 - name : Install latest nightly
121- uses : dtolnay/rust-toolchain@master
118+ uses : dtolnay/rust-toolchain@stable
122119 with :
123- profile : minimal
124120 toolchain : nightly
125- override : true
126121 - name : Generate documentation
127122 run : cargo doc --all-features
128123 - name : Install cargo-deadlinks
@@ -140,11 +135,10 @@ jobs:
140135 steps :
141136 - uses : actions/checkout@v4
142137 - name : Install latest nightly
143- uses : dtolnay/rust-toolchain@master
138+ uses : dtolnay/rust-toolchain@stable
144139 with :
145140 toolchain : nightly
146141 components : clippy
147- override : true
148142
149143 - name : Clippy check
150144 run : cargo clippy --all-features
@@ -159,11 +153,9 @@ jobs:
159153 steps :
160154 - uses : actions/checkout@v4
161155 - name : Install latest nightly
162- uses : dtolnay/rust-toolchain@master
156+ uses : dtolnay/rust-toolchain@stable
163157 with :
164- profile : minimal
165158 toolchain : nightly
166- override : true
167159 components : rustfmt
168160
169161 - name : Format check
0 commit comments