aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
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
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')
-rw-r--r--.github/workflows/autogenerate.yml5
-rw-r--r--.github/workflows/check-generated-code-state.yml29
2 files changed, 3 insertions, 31 deletions
diff --git a/.github/workflows/autogenerate.yml b/.github/workflows/autogenerate.yml
index 6d132fbe..f3493bf2 100644
--- a/.github/workflows/autogenerate.yml
+++ b/.github/workflows/autogenerate.yml
@@ -17,8 +17,8 @@ jobs:
neovim: true
version: v0.8.0
- - name: make autogenerate
- run: make autogenerate
+ - name: make generate
+ run: make generate
- name: Create Pull Request
id: cpr
@@ -28,6 +28,7 @@ jobs:
author: "William Botman <william+bot@redwill.se>"
committer: "William Botman <william+bot@redwill.se>"
add-paths: |
+ lua/mason/mappings
lua/mason-schemas
PACKAGES.md
commit-message: "chore: autogenerate"
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;
- }