Skip to content

Commit

Permalink
chore(setup-go): update actions/setup-go to resolve the warning (#3604)
Browse files Browse the repository at this point in the history
# Summary

Update actions/setup-go to v5.0.0 to resolve the warning.

```
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397be. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
```


https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

https://github.com/actions/setup-go/releases/tag/v5.0.0

> In scope of this release, we change Nodejs runtime from node16 to
node20 (actions/setup-go#421).

## Testing Process

...

## Checklist

- [x] Review the contributing [guidelines](./../CONTRIBUTING.md)
- [ ] Add a reference to related issues in the PR description.
- [ ] Update documentation if applicable.
- [ ] Add unit tests if applicable.
- [ ] Add changes to the [CHANGELOG](./../CHANGELOG.md) if applicable.

---------

Signed-off-by: Shunsuke Suzuki <[email protected]>
Co-authored-by: Ramon Petgrave <[email protected]>
  • Loading branch information
suzuki-shunsuke and ramonpetgrave64 authored May 7, 2024
1 parent 799b48e commit 88d8fa6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/generate-builder/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ runs:
token: ${{ inputs.token }}

- name: Set up Go environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ${{ inputs.go-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/secure-project-checkout-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
fi
- name: Set up Go environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ${{ steps.validate.outputs.go_version }}
go-version-file: ${{ steps.validate.outputs.go_version_file }}
2 changes: 1 addition & 1 deletion .github/workflows/pre-submit.lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: "go.mod"
- env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-submit.units.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: setup-go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: "go.mod"

Expand Down
2 changes: 1 addition & 1 deletion internal/builders/container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ This section explains how to generate non-forgeable SLSA provenance with existin
- name: Checkout the repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.3.4
- uses: actions/setup-go@v3.3.0
- uses: actions/setup-go@v5.0.1
with:
go-version: 1.19
Expand Down

0 comments on commit 88d8fa6

Please sign in to comment.