Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,19 @@ jobs:
- run: bun install --frozen-lockfile
- name: Run Tests
run: bun run coverage
# Persist the scanner CLI across runs so the action restores it from cache
# (tc.find short-circuits the download) instead of fetching it from the
# intermittently-403ing binaries.sonarsource.com on every run.
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
if: ${{ env.SONAR_TOKEN != '' }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
path: ${{ runner.tool_cache }}/sonar-scanner-cli
key: sonar-scanner-cli-${{ runner.os }}-${{ runner.arch }}-8.1.0.6389
- uses: sonarsource/sonarqube-scan-action@7006c4492b2e0ee0f816d36501671557c97f5995 # v8.1
with:
scannerVersion: 8.1.0.6389
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
Loading