mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-14 06:12:28 +00:00
27 lines
863 B
YAML
27 lines
863 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:
|
|
# Pin the coverage setup that checks out this repo's pinned craft-i18n data.
|
|
uses: storytold/craft-common-actions/.github/workflows/sonarcloud.yml@ea24c9c24e1997238334182160f60e602e5bce32
|
|
with:
|
|
# The shared coverage archive's shards omit the CLI executable used by integration tests.
|
|
# Run this repository's suite in one instrumented job and provide its pinned test data.
|
|
shards: 1
|
|
fonts-ref: 37827adc41fd165f9a9234ac40f94dbad353aa69
|
|
secrets: inherit
|