diff options
| author | William Boman <william@redwill.se> | 2026-04-21 15:48:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-21 15:48:29 +0200 |
| commit | cf8f0f84b0b7866b0b8153cd07902770e1fc02d0 (patch) | |
| tree | 83ce47d9355e6676398bc78dd6602c435c25a512 | |
| parent | feat(npm): add `install_args` setting (#1581) (diff) | |
| download | mason-cf8f0f84b0b7866b0b8153cd07902770e1fc02d0.tar mason-cf8f0f84b0b7866b0b8153cd07902770e1fc02d0.tar.gz mason-cf8f0f84b0b7866b0b8153cd07902770e1fc02d0.tar.bz2 mason-cf8f0f84b0b7866b0b8153cd07902770e1fc02d0.tar.lz mason-cf8f0f84b0b7866b0b8153cd07902770e1fc02d0.tar.xz mason-cf8f0f84b0b7866b0b8153cd07902770e1fc02d0.tar.zst mason-cf8f0f84b0b7866b0b8153cd07902770e1fc02d0.zip | |
chore(ci): update stylua, selene, neovim (#2078)
| -rw-r--r-- | .github/workflows/selene.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/stylua.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/tests.yml | 8 | ||||
| -rw-r--r-- | tests/mason-core/ui_spec.lua | 2 | ||||
| -rw-r--r-- | tests/mason/setup_spec.lua | 6 |
5 files changed, 15 insertions, 5 deletions
diff --git a/.github/workflows/selene.yml b/.github/workflows/selene.yml index 6f50a397..dd8897e8 100644 --- a/.github/workflows/selene.yml +++ b/.github/workflows/selene.yml @@ -17,4 +17,4 @@ jobs: # token is needed because the action allegedly downloads binary from github releases token: ${{ secrets.GITHUB_TOKEN }} args: lua/ tests/ - version: 0.27.1 + version: 0.30.1 diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index 87237ad8..70abe580 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -18,4 +18,4 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} # CLI arguments args: --check . - version: 0.20.0 + version: 2.4.1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0908ee78..7d93a157 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,14 @@ jobs: - v0.10.4 - v0.11.0 - v0.11.1 + - v0.11.2 + - v0.11.3 + - v0.11.4 + - v0.11.5 + - v0.11.6 + - v0.11.7 + - v0.12.0 + - v0.12.1 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/tests/mason-core/ui_spec.lua b/tests/mason-core/ui_spec.lua index efd60712..4f77bd5d 100644 --- a/tests/mason-core/ui_spec.lua +++ b/tests/mason-core/ui_spec.lua @@ -233,7 +233,7 @@ describe("integration test", function() match.tbl_containing { nowait = true, silent = true, buffer = match.is_number() } ) - assert.spy(clear_namespace).was_called(1) + assert.spy(clear_namespace).was_called() assert.spy(clear_namespace).was_called_with(match.is_number(), match.is_number(), 0, -1) mutate_state(function(state) diff --git a/tests/mason/setup_spec.lua b/tests/mason/setup_spec.lua index a4320bb3..a6865eb3 100644 --- a/tests/mason/setup_spec.lua +++ b/tests/mason/setup_spec.lua @@ -47,6 +47,8 @@ describe("mason setup", function() mason.setup() local user_commands = vim.api.nvim_get_commands {} + local lua_func = vim.fn.has "nvim-0.12" == 1 and match.is_function() or "<Lua function>" + assert.is_true(match.tbl_containing { bang = false, bar = false, @@ -59,7 +61,7 @@ describe("mason setup", function() bar = false, definition = "Install one or more packages.", nargs = "+", - complete = "<Lua function>", + complete = lua_func, }(user_commands["MasonInstall"])) assert.is_true(match.tbl_containing { @@ -67,7 +69,7 @@ describe("mason setup", function() bar = false, definition = "Uninstall one or more packages.", nargs = "+", - complete = "<Lua function>", + complete = lua_func, }(user_commands["MasonUninstall"])) assert.is_true(match.tbl_containing { |
