Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump actions/setup-go from 1 to 3.3.1 #17659

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 18, 2022

Bumps actions/setup-go from 1 to 3.3.1.

Release notes

Sourced from actions/setup-go's releases.

Fix cache issues and update dependencies

In scope of this release we fixed the issue with the correct generation of the cache key when the go-version-file input is set (actions/setup-go#267). Moreover, we fixed an issue when the cache folder was not found. Besides, we updated actions/core to 1.10.0 version (actions/setup-go#273).

Support architecture input and fix Expand-Archive issue

This release introduces support for architecture input for setup-go action #253. It also adds support for arm32 architecture for self-hosted runners. If architecture is not provided action will use default runner architecture. Example of usage:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
  with:
   go-version: '1.16'
   architecture: arm

This release also provides fix for issue #241. #250 adds support for using explicit filename for Windows which is necessary to satisfy Expand-Archive's requirement on .zip extension.

Update actions/cache version to 3.0.0

In scope of this release we updated actions/cache package as the new version contains fixes for caching error handling

Support for caching dependency files and compiler's build outputs

This release introduces support for caching dependency files and compiler's build outputs #228. For that action uses @​toolkit/cache library under the hood that in turn allows getting rid of configuring @​actions/cache action separately and simplifies the whole workflow.

Such input parameters as cache and cache-dependency-path were added. The cache input is optional, and caching is turned off by default, cache-dependency-path is used to specify the path to a dependency file - go.sum.

Examples of use-cases:

  • cache input only:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
  with:
    go-version: '18'
    cache: true
  • cache along with cache-dependency-path:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
  with:
    go-version: '18'
    cache: true
    cache-dependency-path: subdir/go.sum

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner October 18, 2022 11:44
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 18, 2022
@codecov
Copy link

codecov bot commented Oct 18, 2022

Codecov Report

Merging #17659 (ef34115) into main (f20a2e4) will increase coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #17659      +/-   ##
==========================================
+ Coverage   43.88%   44.00%   +0.11%     
==========================================
  Files         235      235              
  Lines       12942    12942              
  Branches     2597     2597              
==========================================
+ Hits         5680     5695      +15     
+ Misses       6980     6966      -14     
+ Partials      282      281       -1     
Flag Coverage Δ
unittests 44.00% <ø> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ortal/src/app/shared/pipes/harbor-datetime.pipe.ts 36.00% <0.00%> (+4.00%) ⬆️
...tegration/tag-retention/tag-retention.component.ts 36.75% <0.00%> (+5.98%) ⬆️

@OrlinVasilev OrlinVasilev added the release-note/update Update or Fix label Oct 18, 2022
Copy link
Contributor

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

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

lgtm

@stonezdj
Copy link
Contributor

It breaks the golink check.

@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/setup-go-3.3.1 branch from 95f3d8c to acb4c1e Compare October 26, 2022 12:29
@OrlinVasilev
Copy link
Member

@stonezdj are we going to close this one? with if so please use the dependa bot commands to take future appropriate actions! Thank you so much!

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 1 to 3.3.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v1...v3.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/setup-go-3.3.1 branch from acb4c1e to ef34115 Compare November 4, 2022 08:17
@MinerYang
Copy link
Contributor

Will close this PR for now since there's a upstream golangci-lint limitation/false positive linter check errors on suporting golang 1.19.3
golangci/golangci-lint-action#442

@MinerYang
Copy link
Contributor

@dependabot close

@dependabot dependabot bot closed this Nov 10, 2022
@dependabot dependabot bot deleted the dependabot/github_actions/actions/setup-go-3.3.1 branch November 10, 2022 02:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code release-note/update Update or Fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants