chore(actions): fix failing lint

This commit is contained in:
Erica Marigold 2024-03-28 16:22:06 +05:30 committed by GitHub
parent 7d2ac7a4db
commit 66db8e062b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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