From 42b49271bb6134f442057828899e817607dd1b72 Mon Sep 17 00:00:00 2001 From: Katie May Date: Thu, 30 May 2024 21:05:02 -0400 Subject: [PATCH 1/2] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From cf5c5a4204d246fd2f0ce74bbd8f6a624b09c699 Mon Sep 17 00:00:00 2001 From: Katie May Date: Mon, 3 Jun 2024 10:01:38 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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