File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 41
41
- name : Run check w/rust-toolchain.toml
42
42
run : |
43
43
mv ./test/rt.toml ./rust-toolchain.toml
44
- docker run -v $PWD:/ test-cargo-deny \
44
+ docker run -v $PWD:/test test-cargo-deny \
45
45
"" \
46
46
"" \
47
47
"" \
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " root"
3
3
version = " 0.1.0"
4
+ edition = " 2024"
4
5
5
6
[dependencies ]
6
7
openssl = " 0.10"
Original file line number Diff line number Diff line change 1
- #! /bin/sh -l
1
+ #! /bin/bash
2
2
set -e
3
3
4
4
PATH=$PATH :/usr/local/cargo/bin
@@ -8,8 +8,6 @@ if [ -n "$1" ]; then
8
8
rustup default " $1 "
9
9
fi
10
10
11
- rustup toolchain install
12
-
13
11
if [ -n " $2 " ]; then
14
12
git config --global credential.helper store
15
13
git config --global --replace-all url.https://github.com/.insteadOf ssh://
[email protected] /
@@ -43,4 +41,7 @@ shift 5
43
41
# as TTY detection fails inside them
44
42
export CARGO_TERM_COLOR=" always"
45
43
44
+ # Workaround for rustup 1.28 completely breaking rust-toolchain.toml
45
+ (cd " $( dirname " $4 " ) " ; rustup show || rustup toolchain install)
46
+
46
47
cargo-deny $*
You can’t perform that action at this time.
0 commit comments