name: analysis

on: [push, pull_request, workflow_dispatch]

jobs:
    run:
        name: Run Luau Analyze
        runs-on: ubuntu-latest

        steps:
            - name: Checkout Project
              uses: actions/checkout@v4

            - name: Install Luau
              uses: encodedvenom/install-luau@v4.3

            - name: Analyze
              run: |
                  output=$(luau-analyze src || true) # Suppress errors for now.
