File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 24
24
- name : Install Rust
25
25
uses : dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # master
26
26
with :
27
- toolchain : ${{ inputs.version }}
27
+ # TODO: Unpin once https://github.com/rust-lang/rust/issues/135235 is fixed.
28
+ toolchain : ${{ inputs.version == 'nightly' && 'nightly-2025-01-07' || inputs.version }}
28
29
components : ${{ inputs.components }}
29
30
targets : ${{ inputs.targets }}
30
31
@@ -67,11 +68,11 @@ runs:
67
68
env :
68
69
GITHUB_TOKEN : ${{ inputs.token }}
69
70
# TODO: Unpin cargo-quickinstall once our MSRV is > 1.76
70
- run :
cargo +${{ inputs.version }} install --locked [email protected]
71
+ run :
cargo install --locked [email protected]
71
72
72
73
- name : Install Rust tools
73
74
shell : bash
74
75
if : inputs.tools != ''
75
76
env :
76
77
GITHUB_TOKEN : ${{ inputs.token }}
77
- run : cargo +${{ inputs.version }} quickinstall $(echo ${{ inputs.tools }} | tr -d ",")
78
+ run : cargo quickinstall $(echo ${{ inputs.tools }} | tr -d ",")
Original file line number Diff line number Diff line change 79
79
- name : Check
80
80
run : |
81
81
# shellcheck disable=SC2086
82
- cargo +${{ matrix.rust-toolchain }} check $BUILD_TYPE --all-targets --features ci
82
+ cargo check $BUILD_TYPE --all-targets --features ci
83
83
84
84
- name : Run tests and determine coverage
85
85
env :
@@ -89,15 +89,15 @@ jobs:
89
89
export DUMP_SIMULATION_SEEDS
90
90
# shellcheck disable=SC2086
91
91
if [ "${{ matrix.rust-toolchain }}" == "nightly" ]; then
92
- cargo +${{ matrix.rust-toolchain }} llvm-cov nextest $BUILD_TYPE --mcdc --include-ffi --features ci --profile ci --codecov --output-path codecov.json
92
+ cargo llvm-cov nextest $BUILD_TYPE --mcdc --include-ffi --features ci --profile ci --codecov --output-path codecov.json
93
93
else
94
- cargo +${{ matrix.rust-toolchain }} nextest run $BUILD_TYPE --features ci --profile ci
94
+ cargo nextest run $BUILD_TYPE --features ci --profile ci
95
95
fi
96
96
97
97
- name : Run client/server transfer
98
98
run : |
99
99
# shellcheck disable=SC2086
100
- cargo +${{ matrix.rust-toolchain }} build $BUILD_TYPE --bin neqo-client --bin neqo-server
100
+ cargo build $BUILD_TYPE --bin neqo-client --bin neqo-server
101
101
"target/$BUILD_DIR/neqo-server" "$HOST:4433" &
102
102
PID=$!
103
103
# Give the server time to start.
You can’t perform that action at this time.
0 commit comments