From 2c8e198163fcabb5119948842e760b25737cd3dc Mon Sep 17 00:00:00 2001 From: Sam Fredrickson Date: Mon, 9 Sep 2024 23:48:32 -0700 Subject: [PATCH] Update Go, Goreleaser. --- .gitea/workflows/build.yaml | 4 ++-- .gitea/workflows/release-tag.yaml | 4 ++-- .goreleaser.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2d256df..230db85 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -17,7 +17,7 @@ jobs: name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.22.1 + go-version: 1.23.1 - name: Run linter uses: golangci/golangci-lint-action@v3 @@ -31,7 +31,7 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser - version: 1.24.0 + version: 2.2.0 args: release --clean --snapshot env: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} diff --git a/.gitea/workflows/release-tag.yaml b/.gitea/workflows/release-tag.yaml index 1288262..82a063b 100644 --- a/.gitea/workflows/release-tag.yaml +++ b/.gitea/workflows/release-tag.yaml @@ -17,13 +17,13 @@ jobs: name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.22.1 + go-version: 1.23.1 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser - version: 1.24.0 + version: 2.2.0 args: release --clean env: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 1a38cd6..3b1c8bc 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,7 +6,7 @@ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json # vim: set ts=2 sw=2 tw=0 fo=cnqoj -version: 1 +version: 2 before: hooks: