Skip to content

Commit

Permalink
ci: update setup-go to v3.2.0, and remove actions/cache due to suppor…
Browse files Browse the repository at this point in the history
…t it by setup-go

closes #4
  • Loading branch information
Siroshun09 committed May 28, 2022
1 parent 453ae48 commit 21072c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 21072c4

Please sign in to comment.