Skip to content

Commit

Permalink
SC-6662 update README to use v3 of actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanakushnir authored Apr 20, 2023
1 parent db50107 commit 5875562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
Expand Down

1 comment on commit 5875562

@zymotik
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're here because of:

ERROR: 

The version of node.js (12) you have used to run this analysis is deprecated and we stopped accepting it.
Please update to at least node.js 14. You can find more information here: https://docs.sonarcloud.io/appendices/scanner-environment/

See the previous release commit messages: db50107

And the Sonar community post: https://community.sonarsource.com/t/sonarsource-sonarcloud-github-action-failing-with-node-js-12-error/89664

Quick fix, reference previous version in your GitHub Action:

    - name: SonarCloud Scan
      uses: SonarSource/sonarcloud-github-action@v1.8

Please sign in to comment.