From 6e7513d481113801296f6a02cf1d0d2f6d1b9ae2 Mon Sep 17 00:00:00 2001 From: ryoppippi <1560508+ryoppippi@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:13:36 +0000 Subject: [PATCH] feat: run secretlint in parallel --- .github/workflows/check.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 083abcb..99039fd 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -20,12 +20,21 @@ jobs: - uses: pnpm/action-setup@v4 - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Run secretlint - shell: bash - run: pnpm dlx @secretlint/quick-start $(git ls-files) - name: Run check run: pnpm check - name: Run lint run: | pnpm lint pnpm lint:renovate + + secretlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set node + uses: actions/setup-node@v4 + with: + node-version: lts/* + - name: Run secretlint + shell: bash + run: npx @secretlint/quick-start ./**/*