Skip to content

Commit

Permalink
Merge pull request krzko#126 from krzko/chore-update-go-releaser-2
Browse files Browse the repository at this point in the history
chore: update gorelease to v2
  • Loading branch information
krzko authored Sep 29, 2024
2 parents 622cf2a + 52892ed commit f2ab863
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v3
with:
go-version: ~1.19
go-version: ~1.23
- uses: actions/[email protected] # v3
- name: golangci-lint
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- main

env:
GO_VERSION: "1.19"
GO_VERSION: "1.23"
DOCKER_REGISTRY: "ghcr.io"

jobs:
Expand All @@ -33,7 +33,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
Expand Down
8 changes: 3 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# .goreleaser.yml
version: 2

before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -73,9 +74,6 @@ archives:
checksum:
name_template: checksums.txt

snapshot:
name_template: "{{ incpatch .Version }}-next"

changelog:
sort: asc
filters:
Expand All @@ -87,7 +85,7 @@ changelog:

brews:
- name: otelgen
tap:
repository:
owner: 'krzko'
name: 'homebrew-tap'
homepage: https://github.com/krzko/otelgen
Expand Down

0 comments on commit f2ab863

Please sign in to comment.