diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dec6a18..46b5879 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 + +