File tree Expand file tree Collapse file tree 2 files changed +36
-5
lines changed
Expand file tree Collapse file tree 2 files changed +36
-5
lines changed Original file line number Diff line number Diff line change 1+ name : GoReleaser Check
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " .goreleaser.yml"
7+ - " .github/workflows/goreleaser-check.yml"
8+ push :
9+ branches :
10+ - master
11+ paths :
12+ - " .goreleaser.yml"
13+ - " .github/workflows/goreleaser-check.yml"
14+
15+ jobs :
16+ check :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Check out code
20+ uses : actions/checkout@v6
21+
22+ - name : Check GoReleaser config
23+ uses : goreleaser/goreleaser-action@v6
24+ with :
25+ version : latest
26+ args : check
Original file line number Diff line number Diff line change 1- # This is an example goreleaser.yaml file with some sane defaults.
2- # Make sure to check the documentation at http://goreleaser.com
1+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2+ # Make sure to check the documentation at https://goreleaser.com
3+ version : 2
4+
35before :
46 hooks :
5- # you may remove this if you don't use vgo
67 - go mod download
8+
79builds :
810 - env :
911 - CGO_ENABLED=0
@@ -12,9 +14,12 @@ builds:
1214 - windows
1315 - linux
1416 - darwin
17+
1518checksum :
1619 name_template : " checksums.txt"
20+
1721snapshot :
18- name_template : " {{ .Tag }}-next"
22+ version_template : " {{ .Tag }}-next"
23+
1924changelog :
20- skip : true
25+ disable : true
You can’t perform that action at this time.
0 commit comments