mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-16 15:22:43 +00:00
29 lines
875 B
YAML
29 lines
875 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@72d2fbfb3dd1bf27e1bdc7107be72c70749c6876
|
|
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
|