19
19
steps :
20
20
- uses : actions/checkout@v3
21
21
- uses : dtolnay/rust-toolchain@nightly # Needed for -Z minimal-versions and doc_cfg
22
-
23
- id : latest
24
- with :
25
- route : GET /repos/deadlinks/cargo-deadlinks/releases/latest
26
- env :
27
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
22
- name : Install precompiled cargo-deadlinks
29
23
run : |
30
- VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
24
+ VERSION=0.8.1
31
25
URL="https://github.com/deadlinks/cargo-deadlinks/releases/download/${VERSION}/cargo-deadlinks-linux"
32
26
wget -O ~/.cargo/bin/cargo-deadlinks $URL
33
27
chmod +x ~/.cargo/bin/cargo-deadlinks
97
91
- uses : dtolnay/rust-toolchain@stable
98
92
with :
99
93
targets : x86_64-apple-ios
100
-
101
- id : latest
102
- with :
103
- route : GET /repos/sonos/dinghy/releases/latest
104
- env :
105
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
106
94
- name : Install precompiled cargo-dinghy
107
95
run : |
108
- VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
96
+ VERSION=0.6.2
109
97
URL="https://github.com/sonos/dinghy/releases/download/${VERSION}/cargo-dinghy-macos-${VERSION}.tgz"
110
98
wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin
111
99
cargo dinghy --version
@@ -150,15 +138,9 @@ jobs:
150
138
]
151
139
steps :
152
140
- uses : actions/checkout@v3
153
-
154
- id : latest
155
- with :
156
- route : GET /repos/cross-rs/cross/releases/latest
157
- env :
158
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
159
141
- name : Install precompiled cross
160
142
run : |
161
- VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
143
+ VERSION=v0.2.4
162
144
URL=https://github.com/cross-rs/cross/releases/download/${VERSION}/cross-x86_64-unknown-linux-gnu.tar.gz
163
145
wget -O - $URL | tar -xz -C ~/.cargo/bin
164
146
cross --version
@@ -193,15 +175,9 @@ jobs:
193
175
]
194
176
steps :
195
177
- uses : actions/checkout@v3
196
-
197
- id : latest
198
- with :
199
- route : GET /repos/cross-rs/cross/releases/latest
200
- env :
201
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
202
178
- name : Install precompiled cross
203
179
run : |
204
- VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
180
+ VERSION=v0.2.4
205
181
URL=https://github.com/cross-rs/cross/releases/download/${VERSION}/cross-x86_64-unknown-linux-gnu.tar.gz
206
182
wget -O - $URL | tar -xz -C ~/.cargo/bin
207
183
cross --version
@@ -228,16 +204,10 @@ jobs:
228
204
- uses : dtolnay/rust-toolchain@stable
229
205
- run : choco install wget
230
206
if : matrix.os == 'windows-latest'
231
-
232
- id : latest
233
- with :
234
- route : GET /repos/rustwasm/wasm-pack/releases/latest
235
- env :
236
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
237
207
- name : Install precompiled wasm-pack
238
208
shell : bash
239
209
run : |
240
- VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
210
+ VERSION=v0.10.3
241
211
URL=https://github.com/rustwasm/wasm-pack/releases/download/${VERSION}/wasm-pack-${VERSION}-${{ matrix.target }}.tar.gz
242
212
wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin
243
213
wasm-pack --version
@@ -281,15 +251,9 @@ jobs:
281
251
- uses : dtolnay/rust-toolchain@stable
282
252
with :
283
253
targets : wasm32-wasi
284
-
285
- id : latest
286
- with :
287
- route : GET /repos/cross-rs/bytecodealliance/wasmtime/latest
288
- env :
289
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
290
254
- name : Install precompiled wasmtime
291
255
run : |
292
- VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
256
+ VERSION=v2.0.0
293
257
URL=https://github.com/bytecodealliance/wasmtime/releases/download/${VERSION}/wasmtime-${VERSION}-x86_64-linux.tar.xz
294
258
wget -O - $URL | tar -xJ --strip-components=1 -C ~/.cargo/bin
295
259
wasmtime --version
0 commit comments