-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update setup-go to v3.2.0, and remove actions/cache due to suppor…
…t it by setup-go closes #4
- Loading branch information
1 parent
453ae48
commit 21072c4
Showing
2 changed files
with
4 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,16 +13,10 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
- name: "Set up Go" | ||
uses: actions/setup-go@v3.1.0 | ||
uses: actions/setup-go@v3.2.0 | ||
with: | ||
go-version: 1.18 | ||
- name: "Set up cache" | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
cache: true | ||
- name: Run GoReleaser | ||
uses: goreleaser/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,16 +19,10 @@ jobs: | |
- name: Fetch all tags | ||
run: git fetch --force --tags | ||
- name: "Set up Go" | ||
uses: actions/setup-go@v3.1.0 | ||
uses: actions/setup-go@v3.2.0 | ||
with: | ||
go-version: 1.18 | ||
- name: "Set up cache" | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
cache: true | ||
- name: Run GoReleaser | ||
uses: goreleaser/[email protected] | ||
with: | ||
|