Skip to content

Commit a446160

Browse files
Replace SonarSource/sonarcloud-github-action
1 parent 35d1316 commit a446160

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ 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: Setup Node.js
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@v6
2929
with:
3030
node-version: 'lts/*'
3131
cache: 'npm'
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Store assets
4949
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/development' || github.ref == 'refs/heads/main') }}
50-
uses: actions/upload-artifact@v4
50+
uses: actions/upload-artifact@v5
5151
with:
5252
name: assets
5353
path: umd/
@@ -62,18 +62,14 @@ jobs:
6262
matrix:
6363
environment:
6464
- stage
65-
# - stage-eu
6665
include:
6766
- environment: stage
6867
account_id: "079419646996"
6968
bucket: split-public-stage
70-
# - environment: stage-eu
71-
# account_id: "901851837056"
72-
# bucket: split-public-stage-eu-west-1
7369

7470
steps:
7571
- name: Download assets
76-
uses: actions/download-artifact@v4
72+
uses: actions/download-artifact@v6
7773
with:
7874
name: assets
7975
path: umd
@@ -105,18 +101,14 @@ jobs:
105101
matrix:
106102
environment:
107103
- prod
108-
# - prod-eu
109104
include:
110105
- environment: prod
111106
account_id: "825951051969"
112107
bucket: split-public
113-
# - environment: prod-eu
114-
# account_id: "842946900133"
115-
# bucket: split-public-eu-west-1
116108

117109
steps:
118110
- name: Download assets
119-
uses: actions/download-artifact@v4
111+
uses: actions/download-artifact@v6
120112
with:
121113
name: assets
122114
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)