mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 11:25:20 +00:00
github: Check files are not modified during build
Fixes: #2773 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
cee5508e9b
commit
56c3073da4
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@ -42,3 +42,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Release Build (default features)
|
- name: Release Build (default features)
|
||||||
run: cargo build --all --release --target=${{ matrix.target }}
|
run: cargo build --all --release --target=${{ matrix.target }}
|
||||||
|
|
||||||
|
- name: Check build did not modify any files
|
||||||
|
run: test -z "$(git status --porcelain)"
|
||||||
|
3
.github/workflows/quality.yaml
vendored
3
.github/workflows/quality.yaml
vendored
@ -56,3 +56,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Clippy (integration tests)
|
- name: Clippy (integration tests)
|
||||||
run: cargo clippy --all --all-targets --tests --features "integration_tests" -- -D warnings
|
run: cargo clippy --all --all-targets --tests --features "integration_tests" -- -D warnings
|
||||||
|
|
||||||
|
- name: Check build did not modify any files
|
||||||
|
run: test -z "$(git status --porcelain)"
|
||||||
|
Loading…
Reference in New Issue
Block a user