Commit 46607b9
authored
Pin Viceroy install to v0.16.4 in test workflow (#656)
* Pin Viceroy install to v0.16.4 in test workflow
Upstream Viceroy 0.16.6 bumped its MSRV to rustc 1.95, but this repo
pins rustc 1.91.1 in rust-toolchain.toml. The test workflow installed
Viceroy from HEAD, so CI picked up 0.16.6 and failed to compile with
"viceroy-lib@0.16.6 requires rustc 1.95".
Pin to v0.16.4, matching the tag already used by
.github/actions/setup-integration-test-env/action.yml. Drop the
ls-remote cache-key step since a fixed tag is now the cache key.
* Read Viceroy version from .tool-versions in CI
Adds `viceroy 0.16.4` to `.tool-versions` and rewires both the
`Run Tests` workflow and the `setup-integration-test-env` composite
action to read the tag from there via grep. `.tool-versions` is now
the single source of truth, so the two workflows can no longer drift
on the pin.
The pin is still required because upstream Viceroy > v0.16.4 bumped
MSRV beyond the rustc pin in rust-toolchain.toml.1 parent 39b4174 commit 46607b9
3 files changed
Lines changed: 24 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
| |||
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
61 | | - | |
| 70 | + | |
62 | 71 | | |
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
66 | | - | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
29 | 38 | | |
30 | 39 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
40 | | - | |
| 45 | + | |
41 | 46 | | |
42 | | - | |
| 47 | + | |
43 | 48 | | |
44 | | - | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
0 commit comments