Skip to content

Commit da09ea1

Browse files
Update GitHub Actions versions and remove failing SonarQube config
1 parent 5734676 commit da09ea1

File tree

3 files changed

+6
-43
lines changed

3 files changed

+6
-43
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727
with:
2828
fetch-depth: 0
2929

3030
- name: Set up Node.js
31-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@v6
3232
with:
3333
node-version: 'lts/*'
3434
cache: 'npm'
@@ -48,37 +48,9 @@ jobs:
4848
- name: Set VERSION env
4949
run: echo "VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV
5050

51-
- name: SonarQube Scan (Push)
52-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/development')
53-
uses: SonarSource/sonarcloud-github-action@v1.9
54-
env:
55-
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
56-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57-
with:
58-
projectBaseDir: .
59-
args: >
60-
-Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
61-
-Dsonar.projectVersion=${{ env.VERSION }}
62-
-Dsonar.branch.name=${{ github.ref_name }}
63-
64-
- name: SonarQube Scan (Pull Request)
65-
if: github.event_name == 'pull_request'
66-
uses: SonarSource/sonarcloud-github-action@v1.9
67-
env:
68-
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
69-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70-
with:
71-
projectBaseDir: .
72-
args: >
73-
-Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
74-
-Dsonar.projectVersion=${{ env.VERSION }}
75-
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
76-
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
77-
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}
78-
7951
- name: Store assets
8052
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/development')
81-
uses: actions/upload-artifact@v4
53+
uses: actions/upload-artifact@v5
8254
with:
8355
name: assets
8456
path: umd/
@@ -100,7 +72,7 @@ jobs:
10072

10173
steps:
10274
- name: Download assets
103-
uses: actions/download-artifact@v4
75+
uses: actions/download-artifact@v6
10476
with:
10577
name: assets
10678
path: umd
@@ -139,7 +111,7 @@ jobs:
139111

140112
steps:
141113
- name: Download assets
142-
uses: actions/download-artifact@v4
114+
uses: actions/download-artifact@v6
143115
with:
144116
name: assets
145117
path: umd

.github/workflows/update-license-year.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
1919

sonar-project.properties

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)