From 9143729766734ff5765191db56c8aa4c8cbc1058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=8BAndrzej=20Ressel?= Date: Mon, 11 Mar 2024 00:46:08 +0100 Subject: [PATCH] Add git diff --exit-code to CI --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 471e888f..8b59e5e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,3 +37,5 @@ jobs: ./build.sh - name: Run tests run: cargo test --all --verbose + - name: Ensure no files have changed + run: git diff --exit-code