From 96f77f939e12cd3c1ee4effcac7ace7aa7f330d9 Mon Sep 17 00:00:00 2001 From: Mike Fridman Date: Fri, 28 Jun 2024 12:01:52 -0400 Subject: [PATCH] use stable and unstable --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4a5e6a87f..2aaf512db 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - go-version: ["1.21", "1.22", "1.23.0-rc.1"] + go-version: [oldstable, stable, "1.23.0-rc.1"] os: [ubuntu-latest] runs-on: ${{ matrix.os }} @@ -43,13 +43,13 @@ jobs: go build ./... make test-packages - name: Install GoReleaser - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.22' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == 'stable' uses: goreleaser/goreleaser-action@v6 with: install-only: true distribution: goreleaser version: "~> v2" - name: Gorelease dry-run - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.22' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == 'stable' run: | goreleaser release --skip=publish --snapshot --fail-fast --clean