Skip to content

Commit

Permalink
actions: bump setup-go 2->4, bump go version used 1.17->1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
azimut committed Apr 12, 2023
1 parent ac610f8 commit 4585513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/setup-go@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.20
- run: |
make test
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v2
- uses: actions/setup-go@v4
with:
go-version: 1.17
go-version: 1.20
- uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist
Expand Down

0 comments on commit 4585513

Please sign in to comment.