From 8df58b742d4f1bed12850e4384eaa77195d0985f Mon Sep 17 00:00:00 2001 From: Zachary Cowan <44091329+zacowan@users.noreply.github.com> Date: Sat, 7 Sep 2024 13:51:40 -0400 Subject: [PATCH] ci(workflows): update go version, update goreleaser config version (#14) --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- .goreleaser.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15ae5d1..2dfd5a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: stable + go-version: ">=1.21.0 <2.0.0" - name: Verify dependencies run: go mod verify diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6bc3a4..581f12a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - run: git fetch --force --tags - uses: actions/setup-go@v5 with: - go-version: stable + go-version: ">=1.21.0 <2.0.0" - uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 30fd416..886aaee 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -5,6 +5,7 @@ # Feel free to remove those if you don't want/need to use them. # yaml-language-server: $schema=https://goreleaser.com/static/schema.json # vim: set ts=2 sw=2 tw=0 fo=cnqoj +version: 2 before: hooks: