diff options
| author | William Boman <william@redwill.se> | 2023-04-02 21:38:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-02 21:38:20 +0200 |
| commit | bd5f5924e99eb20effc3199710ab754e89f7a7b3 (patch) | |
| tree | 175d8c6a63be3b9f5d0260117da315e51dca3c6c /.github/workflows | |
| parent | chore(health): include :MasonUpdate suggestion (#1169) (diff) | |
| download | mason-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.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/check-generated-code-state.yml | 29 |
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; - } |
