From e3dfc1e04445e794906b6d495a1023e7e5fa20cb Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Mon, 18 Mar 2024 13:40:27 +0100 Subject: [PATCH] Add gh workflow --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 303bac8..f40fdae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,12 @@ jobs: with: components: rustfmt - run: cargo fmt --check - + Verify: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Verify regenerated files + run: ./tools/generate.py && git diff --exit-code -- src/char_data/tables.rs build_result: name: homu build finished runs-on: ubuntu-latest