ci: run type check in actions
This commit is contained in:
parent
47c7737618
commit
ebf9337b32
1 changed files with 11 additions and 1 deletions
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
|
@ -25,12 +25,21 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Stylua
|
||||
uses: JohnnyMorganz/stylua-action@v1
|
||||
uses: JohnnyMorganz/stylua-action@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: v0.15.2
|
||||
args: --check .
|
||||
|
||||
typecheck:
|
||||
name: typecheck
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: stevearc/nvim-typecheck-action@v1
|
||||
with:
|
||||
path: lua
|
||||
|
||||
run_tests:
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -60,6 +69,7 @@ jobs:
|
|||
needs:
|
||||
- luacheck
|
||||
- stylua
|
||||
- typecheck
|
||||
- run_tests
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue