diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index d30afe7..aa894d3 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -30,7 +30,7 @@ jobs: steps: - uses: actions/checkout@v2 with: - fetch-depth: '0' + fetch-depth: 0 - name: Bump version and push tag id: tagger @@ -51,9 +51,9 @@ jobs: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - name: Docker Login env: @@ -63,7 +63,7 @@ jobs: echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest diff --git a/.goreleaser.yml b/.goreleaser.yml index c350248..d4fea11 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 builds: - env: