Skip to content

Commit

Permalink
ci: Add luau-analyze step
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Marks committed Oct 19, 2024
1 parent d6f4d78 commit faca8ae
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Stylua
name: Lint

on: [push, pull_request, workflow_dispatch]

jobs:
run:
style:
name: Run Stylua
runs-on: ubuntu-latest

Expand All @@ -18,3 +18,18 @@ jobs:
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes
# CLI arguments
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/[email protected]

- name: Analyze
run: |
luau-analyze src

0 comments on commit faca8ae

Please sign in to comment.