chore(actions): add other luau dirs to analyze cmd

This commit is contained in:
Erica Marigold 2024-03-29 21:25:40 +05:30
parent aee0a8967c
commit 830f91c376
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1
2 changed files with 65 additions and 64 deletions

View file

@ -1,91 +1,91 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
push:
pull_request:
workflow_dispatch:
defaults:
run:
shell: bash
run:
shell: bash
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install PNPM
uses: pnpm/action-setup@v3
- name: Install PNPM
uses: pnpm/action-setup@v3
- name: Install Node
uses: actions/setup-node@v4.0.2
with:
cache: 'pnpm'
- name: Install Node
uses: actions/setup-node@v4.0.2
with:
cache: "pnpm"
- name: Install dependencies
run: pnpm i
- name: Install dependencies
run: pnpm i
- name: Install tooling
uses: ok-nick/setup-aftman@v0.4.2
- name: Install tooling
uses: ok-nick/setup-aftman@v0.4.2
- name: Check formatting
run: pnpm check_fmt
- name: Check formatting
run: pnpm check_fmt
ci:
needs: ["fmt"]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
ci:
needs: ["fmt"]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install PNPM
uses: pnpm/action-setup@v3
- name: Install PNPM
uses: pnpm/action-setup@v3
- name: Install Node
uses: actions/setup-node@v4.0.2
with:
cache: 'pnpm'
- name: Install Node
uses: actions/setup-node@v4.0.2
with:
cache: "pnpm"
- name: Install dependencies
run: pnpm i
- name: Install dependencies
run: pnpm i
- name: Install tooling
uses: ok-nick/setup-aftman@v0.4.2
- name: Install tooling
uses: ok-nick/setup-aftman@v0.4.2
- name: Build
run: pnpm build
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- name: Test
run: pnpm test
lint:
needs: ["ci"]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
lint:
needs: ["ci"]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install PNPM
uses: pnpm/action-setup@v3
- name: Install PNPM
uses: pnpm/action-setup@v3
- name: Install Node
uses: actions/setup-node@v4.0.2
with:
cache: 'pnpm'
- name: Install Node
uses: actions/setup-node@v4.0.2
with:
cache: "pnpm"
- name: Install dependencies
run: pnpm i
- name: Install dependencies
run: pnpm i
- name: Install tooling
uses: ok-nick/setup-aftman@v0.4.2
- name: Install tooling
uses: ok-nick/setup-aftman@v0.4.2
- name: Build
run: pnpm build
- name: Build
run: pnpm build
- name: Analyze
run: luau-lsp analyze --settings=".vscode/settings.json" tests
- name: Analyze
run: luau-lsp analyze --settings=".vscode/settings.json" tests/ examples/ .lune/
- name: Lint
run: pnpm lint
- name: Lint
run: pnpm lint

View file

@ -1,3 +1,4 @@
.lune/
out/
tests/
LICENSE.md