Skip to content

Commit

Permalink
chore: update goreleaser config and github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joemiller committed Sep 12, 2024
1 parent 4a372e6 commit 83bcf10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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
Expand All @@ -74,7 +74,7 @@ jobs:
fi
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
install-only: true

Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Tag }}-next"
version_template: "{{ .Tag }}-next"

changelog:
sort: asc
Expand Down

0 comments on commit 83bcf10

Please sign in to comment.