Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SonarCloud job to install latest sonar-scanner and build-wrapper using a github action #1401

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xlietz
Copy link
Contributor

@xlietz xlietz commented May 4, 2023

NOTE: Not ready for review - still testing this PR! I submitted this to test my changes since the Sonar scan has to be run on the ASWF repo to work properly.

Updating the SonarCloud job to get the latest sonar-scanner and build-wrapper by using a github action instead of using the versions in the docker image. @cary-ilm noticed that the SonarCloud analysis is generating a warning that the build wrapper version does not match the analyzer version.

@@ -7,10 +7,14 @@
name: Analysis

on:
schedule:
# schedule:
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason to leave this in but commented out? This change means the analysis will run on each pull request, not just weekly, right? Seems ok to give that a try at least.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes this pull request wasn't ready to merge - I had just issued it to try to test this workflow which is why I commented out the schedule, I was hoping it would run upon pull request. But it didn't seem to work so I still need to try pushing a separate branch temporarily.

@cary-ilm
Copy link
Member

@xlietz, does this seem to resolve the issues? Good to go?

@xlietz
Copy link
Contributor Author

xlietz commented May 24, 2023

@cary-ilm I'm still testing this - I will leave a comment when it's ready. Thanks!

@xlietz xlietz force-pushed the sonarcloud-update branch 4 times, most recently from c920e36 to fd63a4d Compare May 24, 2023 22:34
build-wrapper.

Signed-off-by: Christina Tempelaar-Lietz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants