Skip to content

Commit 3c166b2

Browse files
committed
ci: fix yml file sintax
1 parent 1639ad8 commit 3c166b2

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,21 @@ on:
66
- develop
77
jobs:
88
sonarcloud:
9-
name: SonarQube Cloud
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
with:
14-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
15-
- name: SonarQube Cloud Scan
16-
uses: SonarSource/sonarcloud-github-action@master
17-
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
19-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
209
runs-on: ubuntu-latest
2110
steps:
2211
- name: Generate coverage
2312
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
2415
- uses: actions/setup-node@v4
2516
with:
2617
node-version: 22
2718
- run: npm run test:cov
2819

29-
- name: SonarCloud Scan
20+
- name: SonarQube Cloud Scan
3021
uses: SonarSource/sonarcloud-github-action@master
3122
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3224
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3325
check-application:
3426
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)