feat: add nightly minimum dependencies test #94
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BVT | |
on: [pull_request] | |
jobs: | |
bvt: | |
name: BVT | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install dependencies | |
run: | | |
rustup target add x86_64-unknown-linux-musl | |
rustup component add rustfmt clippy | |
- name: Format Check | |
run: make fmt | |
- name: Clippy Check | |
run: make clippy | |
- name: Build | |
run: make tokio_vsock | |
- name: Build test_server | |
run: make test_server | |
bvt-nightly: | |
name: BVT | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install dependencies | |
run: | | |
rustup default nightly | |
rustup target add x86_64-unknown-linux-musl | |
rustup component add rustfmt clippy | |
- name: Format Check | |
run: make fmt | |
- name: Clippy Check | |
run: make clippy | |
- name: Build | |
run: make tokio_vsock | |
- name: Build test_server | |
run: make test_server | |
- name: Min deps build | |
run: | | |
rm Cargo.lock | |
cargo build --features tonic-conn --lib -Z direct-minimal-versions | |
- name: Normal build | |
run: | | |
rm Cargo.lock | |
cargo build --features tonic-conn --lib |