File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 17
17
CARGO_UPGRADES_VER : --version=1.3.6
18
18
PR_TITLE : Weekly `cargo update`
19
19
PR_MESSAGE : |
20
+ Automation to keep dependencies in `Cargo.lock` current.
21
+
20
22
In addition to the semver-compatible updates in this PR,
21
23
the following major upgrades are also available:
22
24
@@ -28,12 +30,14 @@ jobs:
28
30
- name : checkout the source code
29
31
uses : actions/checkout@v3
30
32
with :
31
- fetch-depth : 2
32
33
submodules : recursive
33
- - name : install the latest nightly
34
+ - name : install the bootstrap toolchain
34
35
run : |
35
- rustup toolchain install nightly
36
- rustup default nightly
36
+ # Extract the stage0 version
37
+ TOOLCHAIN=$(jq -r '.compiler | {version,date} | join("-")' -- src/stage0.json)
38
+ # Install and set as default
39
+ rustup toolchain install $TOOLCHAIN
40
+ rustup default $TOOLCHAIN
37
41
- name : install cargo-upgrades
38
42
run : cargo install -f cargo-upgrades $CARGO_UPGRADES_VER
39
43
You can’t perform that action at this time.
0 commit comments