-
Notifications
You must be signed in to change notification settings - Fork 50
60 lines (56 loc) · 1.88 KB
/
nightly.yml
File metadata and controls
60 lines (56 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Nightly
on:
schedule:
- cron: '0 2 * * *' # Run nightly at 2 AM UTC
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
id-token: write
contents: write
jobs:
analyze:
runs-on: github-ubuntu-latest-s
strategy:
matrix:
include:
- platform: next
project-key: org.sonarsource.html:html
- platform: sqc-eu
project-key: SonarSource_sonar-html
- platform: sqc-us
project-key: SonarSource_sonar-html
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: jdx/mise-action@d16887ba50704baed7de72bd1e82e04391e4457a # v3.5.0
with:
version: 2025.7.12
- uses: SonarSource/ci-github-actions/build-maven@v1
with:
artifactory-reader-role: private-reader
artifactory-deployer-role: qa-deployer
maven-args: "-Dsonar.projectKey=${{ matrix.project-key }} -Dsonar.organization=sonarsource -Pcoverage-report -Dmaven.install.skip=true -Dmaven.deploy.skip=true"
sonar-platform: ${{ matrix.platform }}
iris:
needs: [analyze]
runs-on: github-ubuntu-latest-s
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: jdx/mise-action@d16887ba50704baed7de72bd1e82e04391e4457a # v3.5.0
with:
version: 2025.7.12
- uses: SonarSource/unified-dogfooding-actions/run-iris@v1
with:
primary_project_key: org.sonarsource.html:html
primary_platform: Next
shadow1_project_key: SonarSource_sonar-html
shadow1_platform: SQC-EU
shadow2_project_key: SonarSource_sonar-html
shadow2_platform: SQC-US