Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Update actions/setup-go action to v3.5.0 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 12, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
actions/setup-go action minor v3.0.0 -> v3.5.0

Release Notes

actions/setup-go (actions/setup-go)

v3.5.0: Add support for stable and oldstable aliases

Compare Source

In scope of this release we introduce aliases for the go-version input. The stable alias instals the latest stable version of Go. The oldstable alias installs previous latest minor release (the stable is 1.19.x -> the oldstable is 1.18.x).

Stable
steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-go@v3
    with:
      go-version: 'stable'
  - run: go run hello.go
OldStable
steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-go@v3
    with:
      go-version: 'oldstable'
  - run: go run hello.go

v3.4.0: Add support for go.work and pass the token input through on GHES

Compare Source

In scope of this release we added support for go.work file to pass it in go-version-file input.

steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-go@v3
    with:
      go-version-file: go.work
  - run: go run hello.go

Besides, we added support to pass the token input through on GHES.

v3.3.1: Fix cache issues and update dependencies

Compare Source

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 (https://github.com/actions/setup-go/pull/267). Moreover, we fixed an issue when the cache folder was not found. Besides, we updated actions/core to 1.10.0 version (https://github.com/actions/setup-go/pull/273).

v3.3.0: Support architecture input and fix Expand-Archive issue

Compare Source

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.

v3.2.1: Update actions/cache version to 3.0.0

Compare Source

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

v3.2.0: Support for caching dependency files and compiler's build outputs

Compare Source

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

v3.1.0: Add go-version-file input

Compare Source

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:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@coveralls
Copy link

coveralls commented May 12, 2022

Pull Request Test Coverage Report for Build 6599207100

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 85.106%

Totals Coverage Status
Change from base Build 6599206041: 0.0%
Covered Lines: 120
Relevant Lines: 141

💛 - Coveralls

@renovate renovate bot force-pushed the renovate/actions-setup-go-3.x branch from b185f9d to 5551683 Compare May 26, 2022 12:35
@renovate renovate bot changed the title Update actions/setup-go action to v3.1.0 Update actions/setup-go action to v3.2.0 May 26, 2022
@renovate renovate bot force-pushed the renovate/actions-setup-go-3.x branch from 5551683 to ce2deb8 Compare September 25, 2022 12:12
@renovate renovate bot changed the title Update actions/setup-go action to v3.2.0 Update actions/setup-go action to v3.3.0 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/actions-setup-go-3.x branch from ce2deb8 to 2141544 Compare November 20, 2022 13:36
@renovate renovate bot changed the title Update actions/setup-go action to v3.3.0 Update actions/setup-go action to v3.3.1 Nov 20, 2022
@renovate renovate bot changed the title Update actions/setup-go action to v3.3.1 Update actions/setup-go action to v3.5.0 Mar 12, 2023
@renovate renovate bot force-pushed the renovate/actions-setup-go-3.x branch from 2141544 to 8c7cabf Compare March 12, 2023 06:02
@renovate renovate bot force-pushed the renovate/actions-setup-go-3.x branch from 8c7cabf to 600a1ba Compare October 21, 2023 19:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant