aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2025-04-21 21:06:36 +0200
committerWilliam Boman <william@redwill.se>2025-04-21 21:53:16 +0200
commit80f2cd7734ff21da4cf1489c9695e440cdcd139f (patch)
tree4e97c2a3b2a416c87985e8efdff6007eaf57823f /.github/workflows
parentrefactor!: remove `automatic_installation` setting (diff)
downloadmason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.gz
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.bz2
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.lz
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.xz
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.zst
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.zip
refactor!: remove handler functionality, add automatic enable feature
This also removes all generated code/docs, including relevant scripts. Mappings are now also dynamically generated instead of compiled. These changes should reduce churn in this plugin and make it more resilient for external changes in Mason and/or nvim-lspconfig. Mappings have been centralized in the registry instead.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/autogenerate.yml42
-rw-r--r--.github/workflows/check-generated-code-state.yml29
-rw-r--r--.github/workflows/tests.yml9
3 files changed, 1 insertions, 79 deletions
diff --git a/.github/workflows/autogenerate.yml b/.github/workflows/autogenerate.yml
deleted file mode 100644
index d17d86c..0000000
--- a/.github/workflows/autogenerate.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: Autogenerate code
-
-on:
- workflow_dispatch:
- schedule:
- - cron: "0 10 * * *"
-
-jobs:
- autogenerate:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: rhysd/action-setup-vim@v1
- with:
- neovim: true
- version: v0.10.1
-
- - name: make generate
- run: make generate
-
- - name: Create Pull Request
- id: cpr
- uses: peter-evans/create-pull-request@v4
- with:
- token: ${{ secrets.PAT }}
- author: "William Botman <william+bot@redwill.se>"
- committer: "William Botman <william+bot@redwill.se>"
- add-paths: lua/mason-lspconfig
- commit-message: "chore: update generated code"
- branch: chore/generate
- branch-suffix: short-commit-hash
- delete-branch: true
- labels: automerge
- title: "chore: update generated code"
-
- - name: Enable Pull Request Automerge
- if: steps.cpr.outputs.pull-request-operation == 'created'
- uses: peter-evans/enable-pull-request-automerge@v2
- with:
- token: ${{ secrets.PAT }}
- pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
- merge-method: squash
diff --git a/.github/workflows/check-generated-code-state.yml b/.github/workflows/check-generated-code-state.yml
deleted file mode 100644
index 3bfd4a8..0000000
--- 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.10.1
-
- - 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;
- }
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 844868f..2936692 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -14,14 +14,7 @@ jobs:
fail-fast: false
matrix:
nvim_version:
- - v0.9.0
- - v0.9.1
- - v0.9.2
- - v0.9.4
- - v0.9.5
- - v0.10.0
- - v0.10.1
- - v0.10.2
+ - v0.11.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2