CI: Fix async-std task

Previously it didn't enable any TLS provider, since we made
native-tls optional a few commits ago.  Now it enables rustls,
so that rustls also gets a quick check along with async-std.

I've also switched this test to use "cargo clippy" in place of
"cargo test" because it's a strict superset.
This commit is contained in:
Nick Mathewson 2022-01-26 15:00:04 -05:00
parent 5dcc821146
commit 474a46999d
1 changed files with 3 additions and 2 deletions

View File

@ -28,11 +28,12 @@ rust-latest:
- target/x86_64-unknown-linux-gnu/debug/arti
expire_in: 1 hours
rust-latest-async-std:
rust-latest-async-std-rustls:
stage: build
image: rust:latest
script:
- cd crates/arti-client && cargo check --no-default-features --features=async-std
- rustup component add clippy
- cd crates/arti-client && cargo clippy --no-default-features --features=async-std,rustls
tags:
- amd64