Skip to content

Commit 38ae762

Browse files
committed
ci: fix msrv just variable
1 parent 8cf79d3 commit 38ae762

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

justfile

+2-9
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ downgrade-for-msrv:
88

99
msrv := ```
1010
cargo metadata --format-version=1 \
11-
| jq -r 'first(.packages[] | select(.source == null and .name == "actix-tls")) | .rust_version' \
11+
| jq -r 'first(.packages[] | select(.source == null and .rust_version)) | .rust_version' \
1212
| sed -E 's/^1\.([0-9]{2})$/1\.\1\.0/'
1313
```
1414
msrv_rustup := "+" + msrv
@@ -27,13 +27,6 @@ all_crate_features := if os() == "linux" {
2727
"--features='" + non_linux_all_features_list + "'"
2828
}
2929

30-
m:
31-
cargo metadata --format-version=1 \
32-
| jq -r 'first(.packages[] | select(.source == null)) | .rust_version' \
33-
| sed -E 's/^1\.([0-9]{2})$/1\.\1\.0/' \
34-
| xargs -0 printf "msrv=%s" \
35-
| tee /dev/stderr
36-
3730
# Test workspace code.
3831
test toolchain="":
3932
cargo {{ toolchain }} test --lib --tests --package=actix-macros
@@ -48,7 +41,7 @@ test-docs toolchain="": && doc
4841
cargo {{ toolchain }} test --doc --workspace {{ all_crate_features }} --no-fail-fast -- --nocapture
4942

5043
# Test workspace.
51-
test-all toolchain="": (test toolchain) (test-docs)
44+
test-all toolchain="": (test toolchain) (test-docs toolchain)
5245

5346
# Document crates in workspace.
5447
doc *args:

0 commit comments

Comments
 (0)