This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
chore(deps): bump the pip group across 1 directory with 4 updates (#221) #323
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
cache-dependency-path: pnpm-lock.yaml | |
- name: Install dprint | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: dprint | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Lint | |
run: pnpm run lint:ci | |
continue-on-error: true | |
- name: Strip suppressed results | |
run: pnpm dlx @ryanccn/sarif-strip-suppressed /tmp/lint.sarif | |
- name: Upload results | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: /tmp/lint.sarif | |
wait-for-processing: true |