Skip to content

Commit 1dcb33a

Browse files
committed
Ugh
1 parent d9e208f commit 1dcb33a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Run check w/rust-toolchain.toml
4242
run: |
4343
mv ./test/rt.toml ./rust-toolchain.toml
44-
docker run -v $PWD:/ test-cargo-deny \
44+
docker run -v $PWD:/test test-cargo-deny \
4545
"" \
4646
"" \
4747
"" \

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "root"
33
version = "0.1.0"
4+
edition = "2024"
45

56
[dependencies]
67
openssl = "0.10"

entrypoint.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -l
1+
#!/bin/bash
22
set -e
33

44
PATH=$PATH:/usr/local/cargo/bin
@@ -8,8 +8,6 @@ if [ -n "$1" ]; then
88
rustup default "$1"
99
fi
1010

11-
rustup toolchain install
12-
1311
if [ -n "$2" ]; then
1412
git config --global credential.helper store
1513
git config --global --replace-all url.https://github.com/.insteadOf ssh://[email protected]/
@@ -43,4 +41,7 @@ shift 5
4341
# as TTY detection fails inside them
4442
export CARGO_TERM_COLOR="always"
4543

44+
# Workaround for rustup 1.28 completely breaking rust-toolchain.toml
45+
(cd "$(dirname "$4")"; rustup show || rustup toolchain install)
46+
4647
cargo-deny $*

0 commit comments

Comments
 (0)