mirror of
https://github.com/0x5eal/wg-lua.git
synced 2024-12-12 04:40:36 +00:00
chore(actions): fix failing lint
This commit is contained in:
parent
7d2ac7a4db
commit
66db8e062b
1 changed files with 21 additions and 17 deletions
38
.github/workflows/ci.yaml
vendored
38
.github/workflows/ci.yaml
vendored
|
@ -11,7 +11,6 @@ defaults:
|
|||
|
||||
jobs:
|
||||
fmt:
|
||||
name: Check formatting
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
@ -34,22 +33,6 @@ jobs:
|
|||
- name: Check formatting
|
||||
run: pnpm check_fmt
|
||||
|
||||
lint:
|
||||
needs: ["fmt"]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install tooling
|
||||
uses: ok-nick/setup-aftman@v0.4.2
|
||||
|
||||
- name: Analyze
|
||||
run: luau-lsp analyze --settings=".vscode/settings.json" tests
|
||||
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
|
||||
ci:
|
||||
needs: ["fmt"]
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -76,3 +59,24 @@ jobs:
|
|||
|
||||
- name: Test
|
||||
run: pnpm test
|
||||
|
||||
lint:
|
||||
needs: ["ci"]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install tooling
|
||||
uses: ok-nick/setup-aftman@v0.4.2
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
|
||||
- name: Analyze
|
||||
run: luau-lsp analyze --settings=".vscode/settings.json" tests
|
||||
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue