Skip to content

Commit

Permalink
ci/github: remove linters (use pre-commit.ci), add neovim nightly tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Dec 1, 2024
1 parent accbc8a commit c6183d3
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,14 @@ on:
push:
branches: [main]
jobs:
stylua:
name: Check codestyle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always --check .
version: v0.20.0

selene:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: NTBBloodbath/selene-action@68d1ed05cd53716aa8b9b3b81f8b63462949fab6
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always ./lua
version: 0.26.1

test:
name: Run tests
name: Run tests (${{ matrix.version }})
runs-on: ubuntu-latest
strategy:
matrix:
version:
- latest
- nightly
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -40,6 +23,7 @@ jobs:
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.version }}
- run: make test
working-directory: none-ls.nvim
timeout-minutes: 1

0 comments on commit c6183d3

Please sign in to comment.