Files
effectcraft/.github/workflows/sonarcloud.yml
T

29 lines
839 B
YAML

name: SonarCloud
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
concurrency:
group: sonarcloud-${{ github.ref }}
# A push to main is the run that publishes coverage; superseded runs there would never finish.
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
sonarcloud:
# Track shared CI improvements on main.
uses: storytold/craft-common-actions/.github/workflows/sonarcloud.yml@main
with:
timeout-minutes: 120
# GPU tests share a process-local lock; separate coverage shards create independent
# software Vulkan devices, bypassing that lock and potentially contending on llvmpipe.
shards: 1
rust-test-threads: "1"
fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
secrets: inherit