File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
1717 fail-fast : false
1818 matrix :
1919 os : [ubuntu-latest, macos-latest, windows-latest]
20- go : ["1.21", "1.22", " stable"]
20+ go : ["stable"]
2121 steps :
22- - uses : actions/checkout@v5
23- - uses : actions/setup-go@v5
22+ - uses : actions/checkout@v6
23+ - uses : actions/setup-go@v6
2424 with :
2525 go-version : ${{ matrix.go }}
2626 cache : true
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ goreleaser :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v6
16+ with :
17+ fetch-depth : 0
18+
19+ - uses : actions/setup-go@v6
20+ with :
21+ go-version : ' 1.25'
22+ check-latest : true
23+
24+ - uses : goreleaser/goreleaser-action@v6
25+ with :
26+ distribution : goreleaser
27+ version : ' ~> v2'
28+ args : release --clean
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ project_name : qrc
4+
5+ builds :
6+ - id : qrc
7+ main : ./cmd/qrc
8+ binary : qrc
9+ env :
10+ - CGO_ENABLED=0
11+ goos :
12+ - linux
13+ - darwin
14+ - windows
15+ goarch :
16+ - amd64
17+ - arm64
18+ flags :
19+ - -trimpath
20+ ldflags :
21+ - -s -w
22+
23+ archives :
24+ - id : default
25+ ids :
26+ - qrc
27+ name_template : >-
28+ {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
29+ formats : [tar.gz]
30+ format_overrides :
31+ - goos : windows
32+ formats : [zip]
33+ files :
34+ - LICENSE
35+ - README.md
36+
37+ checksum :
38+ name_template : ' checksums.txt'
39+
40+ snapshot :
41+ version_template : ' {{ incpatch .Version }}-next'
42+
43+ changelog :
44+ sort : asc
45+ filters :
46+ exclude :
47+ - ' ^docs:'
48+ - ' ^test:'
49+ - ' ^chore:'
You can’t perform that action at this time.
0 commit comments