From 453152e665c38ba99c3dc496a8f24cf3dbb4c957 Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Fri, 27 Sep 2024 17:19:04 +0200 Subject: [PATCH] Bump Go to 1.23 --- .github/workflows/build.yml | 4 ++-- .github/workflows/golangci-lint.yml | 2 +- .golangci.yml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d96c551..8775434 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.23 - name: Vet run: go vet ./... @@ -35,6 +35,6 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 466bd34..eae1120 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -17,4 +17,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.54 + version: v1.61 diff --git a/.golangci.yml b/.golangci.yml index 57541c9..1fdc951 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -19,6 +19,7 @@ linters: - goerr113 - gofumpt - gomnd + - mnd - lll - musttag - nakedret