Skip to content

Commit c3d9797

Browse files
committed
Just Pin Versions for compiled downloads
Signed-off-by: Joe Richey <[email protected]>
1 parent 03f6688 commit c3d9797

File tree

1 file changed

+6
-42
lines changed

1 file changed

+6
-42
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,9 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v3
2121
- uses: dtolnay/rust-toolchain@nightly # Needed for -Z minimal-versions and doc_cfg
22-
- uses: octokit/[email protected]
23-
id: latest
24-
with:
25-
route: GET /repos/deadlinks/cargo-deadlinks/releases/latest
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2822
- name: Install precompiled cargo-deadlinks
2923
run: |
30-
VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
24+
VERSION=0.8.1
3125
URL="https://github.com/deadlinks/cargo-deadlinks/releases/download/${VERSION}/cargo-deadlinks-linux"
3226
wget -O ~/.cargo/bin/cargo-deadlinks $URL
3327
chmod +x ~/.cargo/bin/cargo-deadlinks
@@ -97,15 +91,9 @@ jobs:
9791
- uses: dtolnay/rust-toolchain@stable
9892
with:
9993
targets: x86_64-apple-ios
100-
- uses: octokit/[email protected]
101-
id: latest
102-
with:
103-
route: GET /repos/sonos/dinghy/releases/latest
104-
env:
105-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10694
- name: Install precompiled cargo-dinghy
10795
run: |
108-
VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
96+
VERSION=0.6.2
10997
URL="https://github.com/sonos/dinghy/releases/download/${VERSION}/cargo-dinghy-macos-${VERSION}.tgz"
11098
wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin
11199
cargo dinghy --version
@@ -150,15 +138,9 @@ jobs:
150138
]
151139
steps:
152140
- uses: actions/checkout@v3
153-
- uses: octokit/[email protected]
154-
id: latest
155-
with:
156-
route: GET /repos/cross-rs/cross/releases/latest
157-
env:
158-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
159141
- name: Install precompiled cross
160142
run: |
161-
VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
143+
VERSION=v0.2.4
162144
URL=https://github.com/cross-rs/cross/releases/download/${VERSION}/cross-x86_64-unknown-linux-gnu.tar.gz
163145
wget -O - $URL | tar -xz -C ~/.cargo/bin
164146
cross --version
@@ -193,15 +175,9 @@ jobs:
193175
]
194176
steps:
195177
- uses: actions/checkout@v3
196-
- uses: octokit/[email protected]
197-
id: latest
198-
with:
199-
route: GET /repos/cross-rs/cross/releases/latest
200-
env:
201-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
202178
- name: Install precompiled cross
203179
run: |
204-
VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
180+
VERSION=v0.2.4
205181
URL=https://github.com/cross-rs/cross/releases/download/${VERSION}/cross-x86_64-unknown-linux-gnu.tar.gz
206182
wget -O - $URL | tar -xz -C ~/.cargo/bin
207183
cross --version
@@ -228,16 +204,10 @@ jobs:
228204
- uses: dtolnay/rust-toolchain@stable
229205
- run: choco install wget
230206
if: matrix.os == 'windows-latest'
231-
- uses: octokit/[email protected]
232-
id: latest
233-
with:
234-
route: GET /repos/rustwasm/wasm-pack/releases/latest
235-
env:
236-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
237207
- name: Install precompiled wasm-pack
238208
shell: bash
239209
run: |
240-
VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
210+
VERSION=v0.10.3
241211
URL=https://github.com/rustwasm/wasm-pack/releases/download/${VERSION}/wasm-pack-${VERSION}-${{ matrix.target }}.tar.gz
242212
wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin
243213
wasm-pack --version
@@ -281,15 +251,9 @@ jobs:
281251
- uses: dtolnay/rust-toolchain@stable
282252
with:
283253
targets: wasm32-wasi
284-
- uses: octokit/[email protected]
285-
id: latest
286-
with:
287-
route: GET /repos/cross-rs/bytecodealliance/wasmtime/latest
288-
env:
289-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
290254
- name: Install precompiled wasmtime
291255
run: |
292-
VERSION=${{ fromJson(steps.latest.outputs.data).tag_name }}
256+
VERSION=v2.0.0
293257
URL=https://github.com/bytecodealliance/wasmtime/releases/download/${VERSION}/wasmtime-${VERSION}-x86_64-linux.tar.xz
294258
wget -O - $URL | tar -xJ --strip-components=1 -C ~/.cargo/bin
295259
wasmtime --version

0 commit comments

Comments
 (0)