diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 47137ee..c831393 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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: @@ -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 @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91b70c3..ed189d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}