diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e023d2b..1ea45fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -116,15 +116,15 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.18.x + go-version: 1.22.1 - name: Import GPG key id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 + uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2.1.1 + uses: goreleaser/goreleaser-action@v6 with: version: latest args: release --rm-dist diff --git a/.golangci.yml b/.golangci.yml index 826ff8d..39d90fd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,5 @@ +run: + go: "1.22.1" linters: enable: - gofmt diff --git a/.goreleaser.yml b/.goreleaser.yml index 7af6b45..c7374ed 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,8 +1,12 @@ # Visit https://goreleaser.com for documentation on how to customize this # behavior. +# Version of the configuration file +version: 2 + before: hooks: - go mod tidy + builds: - env: - CGO_ENABLED=0 @@ -45,4 +49,4 @@ signs: release: draft: false changelog: - skip: true + disable: true