github: Check files are not modified during build

Fixes: #2773

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2021-06-18 15:52:49 +01:00 committed by Sebastien Boeuf
parent cee5508e9b
commit 56c3073da4
2 changed files with 6 additions and 0 deletions

View File

@ -42,3 +42,6 @@ jobs:
- name: Release Build (default features)
run: cargo build --all --release --target=${{ matrix.target }}
- name: Check build did not modify any files
run: test -z "$(git status --porcelain)"

View File

@ -56,3 +56,6 @@ jobs:
- name: Clippy (integration tests)
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)"