From 830f91c3762f7fe44a4d8ffce854bfcbf72cb340 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Fri, 29 Mar 2024 21:25:40 +0530 Subject: [PATCH] chore(actions): add other luau dirs to analyze cmd --- .github/workflows/ci.yaml | 128 +++++++++++++++++++------------------- .prettierignore | 1 + 2 files changed, 65 insertions(+), 64 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 51694bf..64ec058 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/.prettierignore b/.prettierignore index ccf7442..a064518 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ +.lune/ out/ tests/ LICENSE.md \ No newline at end of file