aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/check-generated-code-state.yml
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-04-02 21:38:20 +0200
committerGitHub <noreply@github.com>2023-04-02 21:38:20 +0200
commitbd5f5924e99eb20effc3199710ab754e89f7a7b3 (patch)
tree175d8c6a63be3b9f5d0260117da315e51dca3c6c /.github/workflows/check-generated-code-state.yml
parentchore(health): include :MasonUpdate suggestion (#1169) (diff)
downloadmason-bd5f5924e99eb20effc3199710ab754e89f7a7b3.tar
mason-bd5f5924e99eb20effc3199710ab754e89f7a7b3.tar.gz
mason-bd5f5924e99eb20effc3199710ab754e89f7a7b3.tar.bz2
mason-bd5f5924e99eb20effc3199710ab754e89f7a7b3.tar.lz
mason-bd5f5924e99eb20effc3199710ab754e89f7a7b3.tar.xz
mason-bd5f5924e99eb20effc3199710ab754e89f7a7b3.tar.zst
mason-bd5f5924e99eb20effc3199710ab754e89f7a7b3.zip
chore: consolidate generate task (#1171)
Diffstat (limited to '.github/workflows/check-generated-code-state.yml')
-rw-r--r--.github/workflows/check-generated-code-state.yml29
1 files changed, 0 insertions, 29 deletions
diff --git a/.github/workflows/check-generated-code-state.yml b/.github/workflows/check-generated-code-state.yml
deleted file mode 100644
index 70eb72ec..00000000
--- a/.github/workflows/check-generated-code-state.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: Check generated code state
-
-on:
- push:
- branches:
- - "main"
- pull_request:
-
-jobs:
- check-generated-code-state:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: rhysd/action-setup-vim@v1
- with:
- neovim: true
- version: v0.8.0
-
- - name: make generate
- run: make generate
-
- - name: Ensure there are no diffs
- run: |
- git update-index -q --refresh
- git diff
- git diff-index --exit-code --quiet HEAD -- || {
- echo '::error::Generated code is not up to date, run "make generate".';
- exit 1;
- }