Skip to content

Commit

Permalink
ci: Bump Go to v1.18 (#101)
Browse files Browse the repository at this point in the history
* ci: Bump Go to v1.18
* Bump goreleaser
  • Loading branch information
klauspost committed Jun 12, 2022
1 parent b63c559 commit 504b1fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
go-version: [1.15.x, 1.16.x, 1.17.x]
go-version: [1.16.x, 1.17.x, 1.18.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
go-version: 1.18.x

- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -50,8 +50,8 @@ jobs:
run: GOOS=linux GOARCH=386 go test -short ./...

- name: goreleaser deprecation
run: curl -sfL https://git.io/goreleaser | VERSION=v0.162.0 sh -s -- check
run: curl -sfL https://git.io/goreleaser | VERSION=v1.9.2 sh -s -- check

- name: goreleaser snapshot
run: curl -sL https://git.io/goreleaser | VERSION=v0.162.0 sh -s -- --snapshot --skip-publish --rm-dist
run: curl -sL https://git.io/goreleaser | VERSION=v1.9.2 sh -s -- --snapshot --skip-publish --rm-dist

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -18,12 +18,12 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18.x
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: 0.162.0
version: v1.9.2
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 504b1fd

Please sign in to comment.