Skip to content

Fix GitHub actions (#583)#597

Merged
sappenin merged 18 commits intomainfrom
df/fix-github-actions
Feb 19, 2025
Merged

Fix GitHub actions (#583)#597
sappenin merged 18 commits intomainfrom
df/fix-github-actions

Conversation

@sappenin
Copy link
Collaborator

@sappenin sappenin commented Feb 18, 2025

Fixes #583 and #599 by updating the following:

  • Update to actions/checkout@v4 which remove the need for actions/cache.
  • Update to actions/setup-java@v4
  • Update to temurin as the primary distribution for the actions/setup-java action.
  • Update deprected ubuntu-20.04 to ubuntu-latest per this.

NOTE this announcement that describes how actions/cache will gradually fail through 2/18/2025 to prod project updates.

@sappenin sappenin added enhancement New feature or request dependencies Pull requests that update a dependency file labels Feb 18, 2025
@sappenin sappenin self-assigned this Feb 18, 2025
uses: actions/setup-java@v4
with:
java-version: 1.8
- name: Cache mvn dependencies
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note that actions/setup-java@v4 now includes automatic maven dependency caching, so this section is removed from all configurations.

@codecov
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.02%. Comparing base (21ad524) to head (4263b86).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #597   +/-   ##
=========================================
  Coverage     92.02%   92.02%           
  Complexity     1849     1849           
=========================================
  Files           383      383           
  Lines          5128     5128           
  Branches        436      436           
=========================================
  Hits           4719     4719           
  Misses          273      273           
  Partials        136      136           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@socket-security
Copy link

socket-security bot commented Feb 18, 2025

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

Per `actions/setup-java`: “AdoptOpenJDK got moved to Eclipse Temurin and won't be updated anymore. It is highly recommended to migrate workflows from adopt and adopt-openj9, to temurin and semeru respectively, to keep receiving software and security updates.”
@sappenin sappenin changed the title Fix GitHub actions Fix GitHub actions (#583) Feb 18, 2025
@sappenin sappenin marked this pull request as ready for review February 19, 2025 19:18
@sappenin sappenin merged commit 85a1156 into main Feb 19, 2025
17 of 19 checks passed
@sappenin sappenin deleted the df/fix-github-actions branch February 19, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Github Workflows for new action versions

2 participants