Bump actions/setup-go from 3 to 4
Bumps actions/setup-go from 3 to 4.
Release notes
Sourced from actions/setup-go's releases.
v4.0.0
In scope of release we enable cache by default. The action won’t throw an error if the cache can’t be restored or saved. The action will throw a warning message but it won’t stop a build process. The cache can be disabled by specifying
cache: false.steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: go-version: ‘1.19’ - run: go run hello.goBesides, we introduce such changes as
- Allow to use only GOCACHE for cache
- Bump json5 from 2.2.1 to 2.2.3
- Use proper version for primary key in cache
- Always add Go bin to the PATH
- Add step warning if go-version input is empty
Add support for stable and oldstable aliases
In scope of this release we introduce aliases for the
go-versioninput. Thestablealias instals the latest stable version of Go. Theoldstablealias 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.goOldStable
steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: 'oldstable' - run: go run hello.goAdd support for go.work and pass the token input through on GHES
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 </tr></table>
... (truncated)
Commits
4d34df0Update configuration files (#348)fdc0d67Add Go bin if go-version input is empty (#351)ebfdf6aadd warning if go-version is empty (#350)b27d769fix lockfileVersion (#349)c51a720Enable caching by default with default input (#332)6b848afMerge pull request #343 from akv-platform/reusable-workflow12741ccFormat update-config-files.yml7a77a6aMerge branch 'main' into reusable-workflow42a0cc8Add update-config-files.yml7406d65Add and configure ESLint and update configuration for Prettier (#341)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
Merging #39 (72b5350) into master (e597170) will not change coverage. The diff coverage is
n/a.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@ Coverage Diff @@
## master #39 +/- ##
=======================================
Coverage 89.11% 89.11%
=======================================
Files 3 3
Lines 147 147
=======================================
Hits 131 131
Misses 13 13
Partials 3 3
| Flag | Coverage Δ | |
|---|---|---|
| go-1.13 | 89.11% <ø> (ø) |
|
| go-1.14 | 89.11% <ø> (ø) |
|
| go-1.15 | 89.11% <ø> (ø) |
|
| go-1.16 | 89.11% <ø> (ø) |
|
| go-1.17 | 89.11% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more