chore: use go1.18beta1

This commit is contained in:
nadoo committed 2022-01-26 23:40:49 +08:00
1 parent 755a8ca565
commit fac4b86f60
22 files changed
+49 -59

No files matched your search

+5 -3
View File
@@ -18,7 +18,9 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION}}
stable: 'false'
go-version: '1.18.0-beta1'
# go-version: ${{ env.GO_VERSION}}
- name: Test
run: go test -v .
@@ -31,8 +33,8 @@ jobs:
args: build --snapshot --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
- name: Release
uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/')
with: