Skip to content

Commit

Permalink
SC-4361 Update sonar-scanner-cli to v4.8 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-garcia-sonarsource committed Mar 3, 2023
1 parent cb201f3 commit db50107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM sonarsource/sonar-scanner-cli:4.7
FROM sonarsource/sonar-scanner-cli:4.8

LABEL version="0.0.1" \
repository="https://github.com/sonarsource/sonarcloud-github-action" \
Expand Down

5 comments on commit db50107

@jerome-benoit
Copy link

Choose a reason for hiding this comment

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

That change does not seem to have been tested: node.js 12 is used in the image and is deprecated in GitHub actions.
Using v1.8 make sonar-scanner GitHub action works again.

@voneiden
Copy link

Choose a reason for hiding this comment

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

That change does not seem to have been tested: node.js 12 is used in the image and is deprecated in GitHub actions. Using v1.8 make sonar-scanner GitHub action works again.

They've pushed a buggy image just recently, older 4.8 worked fine.

https://github.com/SonarSource/sonar-scanner-cli-docker/issues/171

@chrillep
Copy link

@chrillep chrillep commented on db50107 Apr 24, 2023

Choose a reason for hiding this comment

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

@zymotik
Copy link

Choose a reason for hiding this comment

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

I've fixed with specifying the previous version for now:

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

Note to Sonar: why can't we flag issues in your repo? It would help us out a lot!

@chrillep
Copy link

@chrillep chrillep commented on db50107 Apr 24, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.