From f1d74a01bd7c0b36979fbe78ccf327a0c8bff402 Mon Sep 17 00:00:00 2001 From: John McBride Date: Wed, 26 Oct 2022 18:18:59 +0000 Subject: [PATCH] GitHub actions: include step in build to check for clean git status Signed-off-by: John McBride --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce78a754..1f62ca6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,8 @@ jobs: - uses: actions/checkout@v3 - run: rustup update stable - run: make build + - name: Ensure git is clean + run: test -z "$(git status --untracked-files=all --porcelain)" build-container: name: brupop-image @@ -34,3 +36,5 @@ jobs: steps: - uses: actions/checkout@v3 - run: make brupop-image + - name: Ensure git is clean + run: test -z "$(git status --untracked-files=all --porcelain)"