Skip to content

Commit 07a65c1

Browse files
authored
Merge pull request #902 from splitio/CLI-52751-sonar
Replace SonarSource/sonarcloud-github-action
2 parents 299cfc8 + 9f06281 commit 07a65c1

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626

2727
- name: Install Redis
2828
run: |
@@ -33,7 +33,7 @@ jobs:
3333
run: redis-cli ping
3434

3535
- name: Setup Node.js
36-
uses: actions/setup-node@v4
36+
uses: actions/setup-node@v6
3737
with:
3838
node-version: 'lts/*'
3939
cache: 'npm'
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Store assets
6060
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/development' || github.ref == 'refs/heads/main') }}
61-
uses: actions/upload-artifact@v4
61+
uses: actions/upload-artifact@v5
6262
with:
6363
name: assets
6464
path: umd/
@@ -80,7 +80,7 @@ jobs:
8080

8181
steps:
8282
- name: Download assets
83-
uses: actions/download-artifact@v4
83+
uses: actions/download-artifact@v6
8484
with:
8585
name: assets
8686
path: umd
@@ -119,7 +119,7 @@ jobs:
119119

120120
steps:
121121
- name: Download assets
122-
uses: actions/download-artifact@v4
122+
uses: actions/download-artifact@v6
123123
with:
124124
name: assets
125125
path: umd

.github/workflows/sonar-scan.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
fetch-depth: 0
2121

2222
- name: Set up Node.js
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@v6
2424
with:
2525
node-version: 'lts/*'
2626
cache: 'npm'
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: SonarQube Scan (Push)
3838
if: github.event_name == 'push'
39-
uses: SonarSource/sonarcloud-github-action@v1.6
39+
uses: SonarSource/sonarqube-scan-action@v6
4040
env:
4141
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
4242
with:
@@ -47,9 +47,10 @@ jobs:
4747
-Dsonar.projectKey=${{ github.event.repository.name }}
4848
-Dsonar.links.ci="https://github.com/splitio/${{ github.event.repository.name }}/actions"
4949
-Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}"
50+
5051
- name: SonarQube Scan (Pull Request)
5152
if: github.event_name == 'pull_request'
52-
uses: SonarSource/sonarcloud-github-action@v1.6
53+
uses: SonarSource/sonarqube-scan-action@v6
5354
env:
5455
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
5556
with:

0 commit comments

Comments
 (0)