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

Add dependency-submission workflow and address deprecations/vulnerabilities #832

Merged
merged 4 commits into from
Jan 31, 2024

Conversation

bigdaz
Copy link
Contributor

@bigdaz bigdaz commented Jan 31, 2024

  • Updates workflows to use Node20-compatible actions where available
  • Switches from gradle/gradle-build-action to gradle/actions/setup-gradle
  • Adds a workflow using gradle/actions/dependency-submission to generate and upload dependency-graph
  • Bumps the version of the 'ktlint' plugin to address reported vulnerability

Uses the `gradle/actions/dependency-submission` action to generate and
submit a dependency graph on each push to 'master'.
With this change, all Gradle dependencies of the project are included in
the GitHub Dependency Graph, allowing Dependabot Alerts to be triggered
for any vulnerable dependencies.
This resovles a vulnerability alert in transitive dependency
'org.jetbrains.kotlin:kotlin-stdlib'.
@ben-manes
Copy link
Owner

oh, looks like a bunch of klint style issues. Is there a way to let it auto-fix?

@ben-manes ben-manes merged commit 717b7ca into ben-manes:master Jan 31, 2024
0 of 2 checks passed
@ben-manes
Copy link
Owner

thanks as always!

@bigdaz
Copy link
Contributor Author

bigdaz commented Jan 31, 2024

Sorry, I know absolutely zero about the ktlint plugin. I guess the new version has more checks?

I can remove that "fix" for now, so we get the rest of the changes through.

@ben-manes
Copy link
Owner

oh no worries, I don't know it either. I found the its auto format task, fixed where it wouldn't do it automatically, and merged this all in. thanks again!

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.

None yet

2 participants