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

Bump actions/setup-go from 2 to 3.2.0 #1526

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 26, 2022

Bumps actions/setup-go from 2 to 3.2.0.

Release notes

Sourced from actions/setup-go's releases.

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

Add go-version-file input

Adding Go version file support

In scope of this release we add the go-version-file input. The new input (go-version-file) provides functionality to specify the path to the file containing Go version with such behaviour:

  • If the file does not exist the action will throw an error.
  • If you specify both go-version and go-version-file inputs, the action will use value from the go-version input and throw the following warning: Both go-version and go-version-file inputs are specified, only go-version will be used.
  • For now the action supports .go-version and go.mod files.
steps:
 - uses: actions/checkout@v3
 - uses: actions/setup-go@v3
   with:
     go-version-file: 'path/to/go.mod'
 - run: go version

Besides, the following pull requests included in this release:

... (truncated)

Commits
  • b22fbbc Implementation of caching functionality for setup-go action (#228)
  • fcdc436 Update @​zeit/ncc to @​vercel/ncc (#229)
  • 265edc1 Add go-version-file option (#62)
  • 193b404 Successfully set up (#231)
  • 56a61c9 Create ADR for integrating cache functionality to setup-go action (#217)
  • b46db95 Merge pull request #222 from vsafonkin/v-vsafonkin/add-readme-note
  • 3332358 Add note about go building
  • 46eabca Merge pull request #221 from vsafonkin/v-vsafonkin/fix-gopath-condition
  • 0794822 Rename CONDUCT.md and change email inside (#218)
  • ad70bef Fix condition for old go versions
  • Additional commits viewable in compare view

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 added dependencies Pull requests that update a dependency file. github_actions Pull requests that update Github_actions code labels May 26, 2022
@codecov
Copy link

codecov bot commented May 26, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@9bc98a3). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 897c970 differs from pull request most recent head 6f30c69. Consider uploading reports for the commit 6f30c69 to get more accurate results

@@           Coverage Diff           @@
##             main    #1526   +/-   ##
=======================================
  Coverage        ?   40.79%           
=======================================
  Files           ?        9           
  Lines           ?      201           
  Branches        ?        0           
=======================================
  Hits            ?       82           
  Misses          ?      112           
  Partials        ?        7           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v2...v3.2.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot changed the base branch from develop to main January 11, 2023 18:16
@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/setup-go-3.2.0 branch from 897c970 to 6f30c69 Compare January 11, 2023 18:16
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 16, 2023

Superseded by #1592.

@dependabot dependabot bot closed this Mar 16, 2023
@dependabot dependabot bot deleted the dependabot/github_actions/actions/setup-go-3.2.0 branch March 16, 2023 12:57
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. github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants