87 Commits

Author SHA1 Message Date
dependabot[bot]
32534d548a
ci: bump actions/checkout from 5 to 6 (#4205)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 14:56:46 -08:00
Justin M. Keyes
f54cc14a3d
fix(docs): handle config errors, document rename #4192
Problem:
If a config throws an error it fails the entire doc generation.

Solution:
Handle config error in docgen. Unfortunately, this doesn't show the
error message, it shows:

    loop or previous error loading module 'lsp.volar'

instead of the actual `error('…')` message.

So meanwhile, document the current deprecation/rename pattern and use
`vim.notify()` instead.
2025-11-16 10:25:25 -08:00
Justin M. Keyes
c1c9e71f78 ci: retreat to luals
idk how to make this error stop
though I did read: https://github.com/EmmyLuaLs/emmylua-analyzer-rust/issues/29

    error: undefined global variable: vim [undefined-global]
      --> lua/lspconfig/configs/taplo.lua:6:29

      5 |     root_dir = function(fname)
      6 |       return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
      7 |     end,
2025-11-14 01:11:49 -05:00
Justin M. Keyes
2d113e6c02 ci: emmylua
- Introduce emmylua CI job to type-check code.
- Drop old analyzers that haven't reported anything useful in a long
  time and are redundant with luals/emmylua.
2025-11-14 00:14:19 -05:00
dependabot[bot]
2c1ebfe45b
ci: bump leafo/gh-actions-luarocks from 5 to 6 (#4096)
Bumps [leafo/gh-actions-luarocks](https://github.com/leafo/gh-actions-luarocks) from 5 to 6.
- [Release notes](https://github.com/leafo/gh-actions-luarocks/releases)
- [Commits](https://github.com/leafo/gh-actions-luarocks/compare/v5...v6)

---
updated-dependencies:
- dependency-name: leafo/gh-actions-luarocks
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-24 14:46:45 -07:00
dependabot[bot]
87b76911d1
ci: bump leafo/gh-actions-lua from 11 to 12 (#4097)
Bumps [leafo/gh-actions-lua](https://github.com/leafo/gh-actions-lua) from 11 to 12.
- [Release notes](https://github.com/leafo/gh-actions-lua/releases)
- [Commits](https://github.com/leafo/gh-actions-lua/compare/v11...v12)

---
updated-dependencies:
- dependency-name: leafo/gh-actions-lua
  dependency-version: '12'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-24 14:46:20 -07:00
dependabot[bot]
45ff191404
ci: bump actions/checkout from 4 to 5 (#3994)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 13:44:24 -07:00
Justin M. Keyes
85e09220a8
ci: check legacy configs, drop "comment" #3781
- Disallow adding new legacy configs.
- Drop the "comment" CI job. It is over-engineered, and adds redundant comments on PRs.
2025-04-26 06:01:04 -07:00
Justin M. Keyes
44ba712bc3
ci(lint): use client:exec_cmd() #3755
Use `client:exec_cmd()` instead of calling
`request("workspace/executeCommand")` directly.
2025-04-21 13:43:00 -07:00
Justin M. Keyes
ed4dff80c0
feat: require Nvim 0.10+ #3692 2025-04-05 15:16:20 -07:00
dundargoc
ff6471d4f8 ci: cancel old jobs on PR update
Closes: https://github.com/neovim/nvim-lspconfig/issues/3669
2025-03-30 18:34:31 +02:00
dependabot[bot]
a3f8422b75 ci: bump leafo/gh-actions-luarocks from 4 to 5
Bumps [leafo/gh-actions-luarocks](https://github.com/leafo/gh-actions-luarocks) from 4 to 5.
- [Release notes](https://github.com/leafo/gh-actions-luarocks/releases)
- [Commits](https://github.com/leafo/gh-actions-luarocks/compare/v4...v5)

---
updated-dependencies:
- dependency-name: leafo/gh-actions-luarocks
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-28 23:46:34 +01:00
dependabot[bot]
d793c5cb02 ci: bump leafo/gh-actions-lua from 10 to 11
Bumps [leafo/gh-actions-lua](https://github.com/leafo/gh-actions-lua) from 10 to 11.
- [Release notes](https://github.com/leafo/gh-actions-lua/releases)
- [Commits](https://github.com/leafo/gh-actions-lua/compare/v10...v11)

---
updated-dependencies:
- dependency-name: leafo/gh-actions-lua
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 22:41:50 +01:00
dundargoc
d9fbdafd80 build: remove docgen.sh
Instead, generate documentation by running the `docgen.lua` executable.
2025-01-21 15:45:44 +01:00
dundargoc
9742171ab9 ci: use the head ref when checking out
Otherwise the action will default to githubs own merge branch which
doesn't follow the actual git history.
2025-01-21 15:38:55 +01:00
Justin M. Keyes
16008a64f6
ci: check for deprecated util functions #3462 2024-11-26 07:34:16 -08:00
dundargoc
39f31e1784 ci: test minimum required neovim version 2024-10-04 14:24:37 +02:00
dundargoc
71ff1585a8 ci: refactor ci output
Separate install step from test step so the output from each isn't mixed with each other.

Also add lint-like workflows to `lint.yml`.
2024-10-02 15:20:12 +02:00
Justin M. Keyes
bedb2a0df1
refactor: rename "server_configurations" => "configs" #3330
Problem:
The name `server_configurations` is extremely verbose and irritatingly
formal and dogmatic. This overlong name is a constant nuisance when
reading, writing, and coding.

It's also not even correct: these configurations are just as much
"client" configurations as they are "server" configurations.

Solution:
- Rename to a shorter name.
- Leave placeholder files for any old URLs that link to the old
  location.
2024-10-01 05:39:12 -07:00
Justin M. Keyes
8c45e72703
fix(ci): luarocks unknown "licence" field
GHA reports a warning:

    Unexpected input(s) 'licence', valid inputs are ['name', 'version', 'specrev', 'dependencies', 'test_dependencies', 'labels', 'copy_directories', 'summary', 'detailed_description', 'template', 'license', 'extra_luarocks_args', 'fail_on_duplicate']
2024-09-11 00:47:01 -07:00
glepnir
dddd0945c0
test(ci): change to luajit-openresty (#3272)
Problem: LuaJIT.org has stopped publishing release tarballs on their website.

Solution: use luajit-openresty instead of.
2024-08-20 20:13:37 +08:00
dependabot[bot]
3c8346db23
ci: bump nvim-neorocks/luarocks-tag-release from 6 to 7 (#3217)
Bumps [nvim-neorocks/luarocks-tag-release](https://github.com/nvim-neorocks/luarocks-tag-release) from 6 to 7.
- [Release notes](https://github.com/nvim-neorocks/luarocks-tag-release/releases)
- [Changelog](https://github.com/nvim-neorocks/luarocks-tag-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nvim-neorocks/luarocks-tag-release/compare/v6...v7)

---
updated-dependencies:
- dependency-name: nvim-neorocks/luarocks-tag-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-22 14:25:12 +08:00
dependabot[bot]
5c33bf1f70 ci: bump nvim-neorocks/luarocks-tag-release from 5 to 6
Bumps [nvim-neorocks/luarocks-tag-release](https://github.com/nvim-neorocks/luarocks-tag-release) from 5 to 6.
- [Release notes](https://github.com/nvim-neorocks/luarocks-tag-release/releases)
- [Changelog](https://github.com/nvim-neorocks/luarocks-tag-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nvim-neorocks/luarocks-tag-release/compare/v5...v6)

---
updated-dependencies:
- dependency-name: nvim-neorocks/luarocks-tag-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 22:11:20 +02:00
Raphael
da338c8d7e
ci(docs): reword "check config changes" #3123 2024-04-25 03:23:37 -07:00
dundargoc
b22610cc7c ci: clarify misleading comment from bot
The job `comment-config-changes.yml` fails if either
`doc/server_configurations.md` or `doc/server_configurations.txt`, but
the comment never mentions not to change
`doc/server_configurations.txt`.
2024-02-24 13:49:09 +01:00
dependabot[bot]
a367cab504 ci: bump JohnnyMorganz/stylua-action from 3 to 4
Bumps [JohnnyMorganz/stylua-action](https://github.com/johnnymorganz/stylua-action) from 3 to 4.
- [Release notes](https://github.com/johnnymorganz/stylua-action/releases)
- [Commits](https://github.com/johnnymorganz/stylua-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: JohnnyMorganz/stylua-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 22:33:22 +01:00
dundargoc
8c0b85272c ci: run sanitizer on head branch instead of merge branch 2023-10-01 15:22:37 +02:00
dependabot[bot]
499314f76f
ci: bump actions/checkout from 3 to 4 (#2794)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 14:20:23 +08:00
figsoda
f733d155a7
ci: fix git email (#2771) 2023-08-22 13:57:22 +08:00
dependabot[bot]
c89b22e9a6
ci: bump nvim-neorocks/luarocks-tag-release from 4 to 5 (#2650)
Bumps [nvim-neorocks/luarocks-tag-release](https://github.com/nvim-neorocks/luarocks-tag-release) from 4 to 5.
- [Release notes](https://github.com/nvim-neorocks/luarocks-tag-release/releases)
- [Changelog](https://github.com/nvim-neorocks/luarocks-tag-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nvim-neorocks/luarocks-tag-release/compare/v4...v5)

---
updated-dependencies:
- dependency-name: nvim-neorocks/luarocks-tag-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 08:26:39 +08:00
dependabot[bot]
df58d91c93
ci: bump leafo/gh-actions-lua from 8 to 10 (#2606)
Bumps [leafo/gh-actions-lua](https://github.com/leafo/gh-actions-lua) from 8 to 10.
- [Release notes](https://github.com/leafo/gh-actions-lua/releases)
- [Commits](https://github.com/leafo/gh-actions-lua/compare/v8...v10)

---
updated-dependencies:
- dependency-name: leafo/gh-actions-lua
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 14:23:52 +08:00
Raphael
13e86cb91e
test: remove test depend and use vusted (#2603) 2023-05-11 14:48:48 +08:00
dependabot[bot]
3bd4ca4129
ci: bump JohnnyMorganz/stylua-action from 2 to 3 (#2582)
Bumps [JohnnyMorganz/stylua-action](https://github.com/JohnnyMorganz/stylua-action) from 2 to 3.
- [Release notes](https://github.com/JohnnyMorganz/stylua-action/releases)
- [Commits](https://github.com/JohnnyMorganz/stylua-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: JohnnyMorganz/stylua-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 14:04:24 +08:00
dundargoc
612515811e
ci: removed unused packages (#2534) 2023-03-30 22:06:37 +02:00
dundargoc
c34522092b
ci: remove copy_directories input from luarocks-tag-release action
It should no longer be needed as per
https://github.com/neovim/nvim-lspconfig/pull/2527#issuecomment-1484563558.
2023-03-29 23:35:20 +02:00
dependabot[bot]
9139e5c908
ci: bump nvim-neorocks/luarocks-tag-release from 1.0.2 to 4
Bumps [nvim-neorocks/luarocks-tag-release](https://github.com/nvim-neorocks/luarocks-tag-release) from 1.0.2 to 4
- [Release notes](https://github.com/nvim-neorocks/luarocks-tag-release/releases)
- [Changelog](https://github.com/nvim-neorocks/luarocks-tag-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nvim-neorocks/luarocks-tag-release/compare/v1.0.2...v4.0.0)
2023-03-29 23:25:54 +02:00
Justin M. Keyes
f3e6c034d1
ci: fix config change workflow
The backticks appears to be doing process substitution.
2023-03-07 04:17:24 -08:00
Marc Jakobi
255e07ce2a fix: update luarocks-tag-release action + set license 2023-02-06 00:17:32 +01:00
Marc Jakobi
64bee38a97 chore: use luarocks-tag-release workflow 2023-02-03 18:23:14 +01:00
Marc Jakobi
2df0fbdadd ci: add luarocks upload release workflow
The recently added rockspec (see #2307) has to be prepared and
uploaded to luarocks for each release.

This adds an automated workflow for it, which has been tested with
plenary.nvim.

To be able to upload to luarocks, the owner of the luarocks account
will have to add an API key named `LUAROCKS_API_KEY` to this repo's
GitHub Actions secrets.
2023-01-08 18:59:12 +01:00
dundargoc
5d96ace4fc
ci: bump action versions (#2322) 2022-12-17 06:35:24 -08:00
Justin M. Keyes
e95c12cea1
ci: don't auto-close config changes
just leave a comment instead
2022-12-15 16:17:36 -08:00
Justin M. Keyes
227d4a38ad
ci: remove auto-close bot
This is a nuisance.
2022-12-15 16:14:01 -08:00
Raphael
90cb7b041d
fix: update ci lint stylua-action version (#2150)
* fix: update ci lint stylua-action version

* fix: typo
2022-09-23 14:42:39 +08:00
Justin M. Keyes
4bec857a98
feat(ci): include link i auto-close message 2022-08-03 08:02:26 -07:00
sitiom
d17179dbdd
ci(selene): switch to yml config #1986
As of Kampfkarren/selene#364, using TOML is now deprecated.
2022-07-07 05:44:15 -07:00
dundargoc
e1faf0ebb3
ci: simplify codespell workflow (#1706) 2022-02-10 14:23:35 -08:00
dundargoc
4b21740aae
ci: remove outdated brew workaround (#1625) 2021-12-31 11:45:07 -05:00
Javier Lopez
cea6e0b0f6
fix(help): workaround plugin/users overwritting tags (#1512)
Most plugin managers run :helptags in the plugin, which silently
overwrites the existing doc/tags. this is an issue for us since lspconfig
is manipulating the tags file to point to servers_configurations.md

Instead create a markdown comment with the name of the wanted tag and
make a copy in the repository of servers_configurations.md to
server_configurations.txt. Now when :helptags runs it finds the txt file
and generates the appropriate tag.

The advantage is this solution should work in all platforms, it also
removes lines from docgen CI.
2021-11-30 09:27:12 -05:00
dundargoc
04853f8e2d
ci: use v2 tag for checkout actions (#1469)
The official GitHub actions update the vX tags to be the latest.
Workflows automatically benefit from bugfixes/patches without manually
needing to update the workflows.
2021-11-21 09:30:31 -05:00