From aa5706002632a4e6a9046b08e965fdded283a4b2 Mon Sep 17 00:00:00 2001 From: baku-ccron Date: Thu, 27 Aug 2026 04:24:16 +0000 Subject: [PATCH] Add the git-clean currency check This repo commits src/generated/ but had no check that it is still current, so generated drift was caught only at tag time, after a deploy had broadcast. Calls the rainix reusable, named to the org standard. Closes #7 --- .github/workflows/git-clean.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/workflows/git-clean.yaml diff --git a/.github/workflows/git-clean.yaml b/.github/workflows/git-clean.yaml new file mode 100644 index 0000000..a032cec --- /dev/null +++ b/.github/workflows/git-clean.yaml @@ -0,0 +1,8 @@ +name: Git is clean +on: [push] +jobs: + git-clean: + # Shared reusable: rebuild from committed sources (`script/Build.sol` emits + # `src/generated/`) and assert nothing committed has drifted. + uses: rainlanguage/rainix/.github/workflows/rainix-copy-artifacts.yaml@main + secrets: inherit