From 3a21ff43687e55cb7f1b6d7da885c1f35e5ed57b Mon Sep 17 00:00:00 2001 From: Josh Holman Date: Wed, 21 Oct 2026 16:28:14 -0700 Subject: [PATCH 1/4] add git diff check to CI --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dda5852b..fed44564 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,6 +25,9 @@ jobs: - "go.sum" - "Makefile" + - name: Diff Check + run: git diff main --check + - name: Install Nix if: steps.filter.outputs.source_code == 'true' uses: DeterminateSystems/nix-installer-action@main From d924185a43a72843ecd59ffc026e8eaa42fffdc2 Mon Sep 17 00:00:00 2001 From: Josh Holman Date: Wed, 21 Oct 2026 16:30:51 -0700 Subject: [PATCH 2/4] origin main? --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fed44564..3a7324c3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,7 +26,7 @@ jobs: - "Makefile" - name: Diff Check - run: git diff main --check + run: git diff origin/main --check - name: Install Nix if: steps.filter.outputs.source_code == 'true' From 8234b7ebbd4fe22d80e778f026ff9a781c21337e Mon Sep 17 00:00:00 2001 From: Josh Holman Date: Wed, 21 Oct 2026 16:40:01 -0700 Subject: [PATCH 3/4] third try --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3a7324c3..dd9abf24 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,7 +26,7 @@ jobs: - "Makefile" - name: Diff Check - run: git diff origin/main --check + run: git fetch origin main --depth=1 && git diff origin/main --check - name: Install Nix if: steps.filter.outputs.source_code == 'true' From f43f1dcc44d75e19e886a6f7784f82e0a2463314 Mon Sep 17 00:00:00 2001 From: Josh Holman Date: Wed, 21 Oct 2026 16:44:34 -0700 Subject: [PATCH 4/4] use ... check --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dd9abf24..94afd628 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,7 +26,7 @@ jobs: - "Makefile" - name: Diff Check - run: git fetch origin main --depth=1 && git diff origin/main --check + run: git fetch origin main && git diff --check origin/main...HEAD - name: Install Nix if: steps.filter.outputs.source_code == 'true'