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

[CI]: remove approve step and upgrade sonar #331

Merged
merged 2 commits into from
Oct 7, 2023
Merged

Conversation

GwnDaan
Copy link
Member

@GwnDaan GwnDaan commented Oct 6, 2023

  • Upgrade sonar action from v1 to v2, I assume this will fix the Java version warning (replaces [CI]: Attempt to resolve Sonar Java version warning #309)
  • Removed the "approve" step. This should speed up the CI process as it won't require human input and by using the normal pull_request we don't risk any future security risks. I think this outweighs the drawback that PR's created from forks do not run the Sonar analysis (though they will build, test and lint immediately). Opinions on this welcome
  • Also made windows and mac-os jobs run tests

Note that I haven't tested this

@GwnDaan GwnDaan added the ci/build system Issue relates to build pipeline or other CI label Oct 6, 2023
@GwnDaan GwnDaan requested a review from ad3154 October 6, 2023 12:48
@GwnDaan GwnDaan self-assigned this Oct 6, 2023
@GwnDaan GwnDaan temporarily deployed to Integrate Pull Request October 6, 2023 12:48 — with GitHub Actions Inactive
Also made windows and mac-os run tests
@GwnDaan GwnDaan temporarily deployed to Integrate Pull Request October 6, 2023 12:56 — with GitHub Actions Inactive
@GwnDaan
Copy link
Member Author

GwnDaan commented Oct 6, 2023

Okay, I think the changes worked! Apart from some tests on Windows and Mac failing? But that's probably out of scope for this PR... @ad3154 if you approve these changes, the Integrate Pull Request environment can be removed :)

@sonarcloud
Copy link

sonarcloud bot commented Oct 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@GwnDaan GwnDaan merged commit a160e06 into main Oct 7, 2023
9 of 11 checks passed
@GwnDaan GwnDaan deleted the daan/ci-upgrade-sonar branch October 7, 2023 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/build system Issue relates to build pipeline or other CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants