Skip to content

Commit c6183d3

Browse files
committed
ci/github: remove linters (use pre-commit.ci), add neovim nightly tests
1 parent accbc8a commit c6183d3

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

.github/workflows/build.yml

+7-23
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,14 @@ on:
44
push:
55
branches: [main]
66
jobs:
7-
stylua:
8-
name: Check codestyle
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v4
12-
- uses: JohnnyMorganz/stylua-action@v4
13-
with:
14-
token: ${{ secrets.GITHUB_TOKEN }}
15-
args: --color always --check .
16-
version: v0.20.0
17-
18-
selene:
19-
name: Lint
20-
runs-on: ubuntu-latest
21-
steps:
22-
- uses: actions/checkout@v4
23-
- uses: NTBBloodbath/selene-action@68d1ed05cd53716aa8b9b3b81f8b63462949fab6
24-
with:
25-
token: ${{ secrets.GITHUB_TOKEN }}
26-
args: --color always ./lua
27-
version: 0.26.1
28-
297
test:
30-
name: Run tests
8+
name: Run tests (${{ matrix.version }})
319
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
version:
13+
- latest
14+
- nightly
3215
steps:
3316
- uses: actions/checkout@v4
3417
with:
@@ -40,6 +23,7 @@ jobs:
4023
- uses: rhysd/action-setup-vim@v1
4124
with:
4225
neovim: true
26+
version: ${{ matrix.version }}
4327
- run: make test
4428
working-directory: none-ls.nvim
4529
timeout-minutes: 1

0 commit comments

Comments
 (0)