From 83bcf10e9c963cce37b275a2dcb526962d0c56a5 Mon Sep 17 00:00:00 2001 From: joe miller Date: Thu, 12 Sep 2024 23:58:13 +0000 Subject: [PATCH] chore: update goreleaser config and github actions --- .github/workflows/main.yaml | 12 ++++++------ .goreleaser.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b286857..e1c9829 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,7 +10,7 @@ jobs: if: github.event_name == 'push' && !contains(toJson(github.event.commits), '[ci skip]') && !contains(toJson(github.event.commits), '[skip ci]') steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: go.mod - name: install golangci-lint @@ -23,7 +23,7 @@ jobs: - name: Install GoReleaser # only need to lint goreleaser on one platform: if: startsWith(runner.os, 'Linux') - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: install-only: true @@ -39,11 +39,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Install GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: install-only: true @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: go.mod - name: docker.io login @@ -74,7 +74,7 @@ jobs: fi - name: Install GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: install-only: true diff --git a/.goreleaser.yml b/.goreleaser.yml index 38bd408..92295c2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -48,7 +48,7 @@ checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next" changelog: sort: asc