Skip to content

Commit

Permalink
Add goreleaser check and attempt update
Browse files Browse the repository at this point in the history
  • Loading branch information
djaglowski committed Jun 18, 2024
1 parent aa31b27 commit be72729
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/check-goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Check GoReleaser Config
on:
push:
branches: [main]
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
pull_request:

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
- name: Check GoReleaser
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
distribution: goreleaser-pro
version: latest
args: check --verbose cmd/builder/.goreleaser.yml
env:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion cmd/builder/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ checksum:
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true
disable: true

0 comments on commit be72729

Please sign in to comment.