mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
.github: Move per-commit check (using --tests) to quality checks
This removes the requirement for the tests (dev-dependencies) to build with all supported toolchains including the MSRV. See: #4318 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
5
.github/workflows/quality.yaml
vendored
5
.github/workflows/quality.yaml
vendored
@@ -30,6 +30,11 @@ jobs:
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Debug Check (default features)
|
||||
run: |
|
||||
git rev-list origin/main..$GITHUB_SHA | xargs -t -I % sh -c 'git checkout %; cargo check --tests --all --target=${{ matrix.target }}'
|
||||
git checkout $GITHUB_SHA
|
||||
|
||||
- name: Formatting (rustfmt)
|
||||
run: cargo fmt -- --check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user