mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
ci: Add luau-analyze step
This commit is contained in:
parent
d6f4d782a2
commit
faca8ae90a
1 changed files with 17 additions and 2 deletions
19
.github/workflows/lint.yml
vendored
19
.github/workflows/lint.yml
vendored
|
@ -1,9 +1,9 @@
|
||||||
name: Stylua
|
name: Lint
|
||||||
|
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
style:
|
||||||
name: Run Stylua
|
name: Run Stylua
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -18,3 +18,18 @@ jobs:
|
||||||
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes
|
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes
|
||||||
# CLI arguments
|
# CLI arguments
|
||||||
args: --check ./src
|
args: --check ./src
|
||||||
|
|
||||||
|
analyze:
|
||||||
|
name: Run Luau Analyze
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Project
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Luau
|
||||||
|
uses: encodedvenom/install-luau@v2.1
|
||||||
|
|
||||||
|
- name: Analyze
|
||||||
|
run: |
|
||||||
|
luau-analyze src
|
||||||
|
|
Loading…
Reference in a new issue