Skip to content

Commit

Permalink
Fix goreleaser and upgrade Go to 1.21 (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-ruth authored Aug 21, 2023
1 parent 7555dda commit b643905
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.3
go-version: 1.21

- name: Run Golang CI Lint
uses: golangci/golangci-lint-action@v2
Expand All @@ -25,7 +25,7 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --snapshot --skip-sign --rm-dist
args: release --snapshot --skip-sign --clean
env:
GORELEASER_CURRENT_TAG: ${{ github.run_id }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.3
go-version: 1.21

- name: Run Golang CI Lint
uses: golangci/golangci-lint-action@v2
Expand All @@ -22,7 +22,7 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --snapshot --skip-sign --rm-dist
args: release --snapshot --skip-sign --clean

- uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.3
go-version: 1.21

- name: Run Golang CI Lint
uses: golangci/golangci-lint-action@v2
Expand All @@ -32,7 +32,7 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
Expand Down
2 changes: 0 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,5 @@ nfpms:
overrides:
rpm:
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}"
replacements:
amd64: x86_64
deb:
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"

0 comments on commit b643905

Please sign in to comment.