Skip to content

Commit 2b5505a

Browse files
committed
chore: Update sonarcube action
1 parent 915c0cf commit 2b5505a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
artifact:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2626
- name: Set artifact version
2727
run: script/version_snapshot.sh
2828
shell: bash
@@ -66,7 +66,7 @@ jobs:
6666
os: [macos-latest, ubuntu-latest, windows-latest]
6767
node-version: [16.x, 18.x, 20.x]
6868
steps:
69-
- uses: actions/checkout@v2
69+
- uses: actions/checkout@v3
7070
- name: Set up Node.js ${{ matrix.node-version }}
7171
uses: actions/setup-node@v3
7272
with:
@@ -97,7 +97,7 @@ jobs:
9797
if: ${{ needs.artifact.result == 'success' && github.event.repository.fork == false && ( github.event_name == 'push' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' ) }}
9898
runs-on: ubuntu-latest
9999
steps:
100-
- uses: actions/checkout@v2
100+
- uses: actions/checkout@v3
101101
with:
102102
fetch-depth: 0
103103
- name: Set artifact version
@@ -126,7 +126,7 @@ jobs:
126126
- run: npm run build
127127
- run: npm test
128128
- name: SonarCloud Scan
129-
uses: sonarsource/sonarcloud-github-action@v1.7
129+
uses: sonarsource/sonarcloud-github-action@v2
130130
env:
131131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
132132
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)