diff --git a/README.md b/README.md index 9de2d30..0a478db 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ A GitHub CLI extension is any GitHub repository named `gh-*` that publishes a Re ## Go extensions +> [!Note] +> 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. + Create a workflow file at `.github/workflows/release.yml`: ```yaml diff --git a/action.yml b/action.yml index 3a7372e..199adc8 100644 --- a/action.yml +++ b/action.yml @@ -27,7 +27,7 @@ runs: using: composite steps: # TODO: figure out how to avoid setting up Go for non-Go extensions - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: # The default go version is managed here because actions/setup-go favors go-version over go-version-file, # requiring us to only pass it if no other inputs are provided.