Skip to content

Commit ee3e4e5

Browse files
authored
Merge pull request #55 from katiem0/trunk
Update `setup-go` action for latest version
2 parents 309b2c2 + cf5c5a4 commit ee3e4e5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ A GitHub CLI extension is any GitHub repository named `gh-*` that publishes a Re
44

55
## Go extensions
66

7+
> [!Note]
8+
> With the use of `actions/setup-go@v5` for Go extensions, **cache is enabled by default** as part of the [action's `v4` release](https://github.com/actions/setup-go/releases/tag/v4.0.0). 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.
9+
710
Create a workflow file at `.github/workflows/release.yml`:
811

912
```yaml

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runs:
2727
using: composite
2828
steps:
2929
# TODO: figure out how to avoid setting up Go for non-Go extensions
30-
- uses: actions/setup-go@v3
30+
- uses: actions/setup-go@v5
3131
with:
3232
# The default go version is managed here because actions/setup-go favors go-version over go-version-file,
3333
# requiring us to only pass it if no other inputs are provided.

0 commit comments

Comments
 (0)