-
Notifications
You must be signed in to change notification settings - Fork 1
chore: upgrade GitHub Actions from Node 20 to Node 24 #237
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94,20 +94,20 @@ jobs: | |
| IS_RELEASE: ${{ steps.checkRelease.outputs.is_release }} | ||
|
|
||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | ||
| with: | ||
| distribution: 'temurin' | ||
| java-version: ${{ inputs.java_version }} | ||
|
|
||
| - name: Checkout full history on Main | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| if: ${{ inputs.version_number_input == ''}} | ||
| with: | ||
| # git-restore-mtime requires full git history. The default fetch-depth value (1) creates a shallow checkout. | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Checkout full history at tag v${{ inputs.version_number_input }} | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| if: ${{ inputs.version_number_input != ''}} | ||
| with: | ||
| ref: v${{ inputs.version_number_input }} | ||
|
|
@@ -168,15 +168,15 @@ jobs: | |
| github_token: ${{ inputs.merge_environment != '' && secrets.GH_MERGE_TOKEN || '' }} | ||
|
|
||
| - name: Log in to the Docker container registry | ||
| uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 | ||
| uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0 | ||
| with: | ||
| registry: ${{ env.REGISTRY }} | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Extract metadata (tags, labels) for Docker | ||
| id: meta | ||
| uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5 | ||
| uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6.1.0 | ||
| with: | ||
| images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}${{ inputs.append_image_name }} | ||
| tags: | | ||
|
|
@@ -190,7 +190,7 @@ jobs: | |
| echo "firstTag=$FIRST_TAG" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 | ||
| uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0 | ||
|
|
||
| - name: Lowercase image reference | ||
| id: imageRef | ||
|
|
@@ -199,7 +199,7 @@ jobs: | |
| echo "value=${value}" >> "$GITHUB_OUTPUT" | ||
|
|
||
| - name: Build and export to Docker | ||
| uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5 | ||
| uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Claude Review: |
||
| with: | ||
| context: ${{inputs.working_dir}} | ||
| load: true | ||
|
|
@@ -220,7 +220,7 @@ jobs: | |
|
|
||
| - name: Push to Docker (by digest, untagged) | ||
| id: push | ||
| uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5 | ||
| uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0 | ||
| with: | ||
| context: ${{inputs.working_dir}} | ||
| labels: ${{ steps.meta.outputs.labels }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Claude Review:
docker/setup-buildx-actionv4 removed previously deprecated inputs and outputs. No deprecated inputs are used in these workflows, so this is safe. Worth verifying in any downstream callers that pass additionalwith:parameters tosetup-buildx-actionthat those inputs still exist in v4.