File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : goreleaser
2+
3+ on :
4+ pull_request :
5+ push :
6+ # run only against tags
7+ tags :
8+ - " *"
9+
10+ permissions :
11+ contents : write
12+
13+ jobs :
14+ goreleaser :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ - name : Set up Go
22+ uses : actions/setup-go@v5
23+ with :
24+ go-version : stable
25+ - name : Run GoReleaser
26+ uses : goreleaser/goreleaser-action@v6
27+ with :
28+ distribution : goreleaser
29+ version : " ~> v2"
30+ args : release --clean
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11/.idea
2+
3+ dist /
Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
3+
4+ version : 2
5+
6+ before :
7+ hooks :
8+ - go mod tidy
9+
10+ builds :
11+ - env :
12+ - CGO_ENABLED=0
13+ ldflags :
14+ - -s -w -X main.version={{.Version}}
15+ goos :
16+ - linux
17+ - windows
18+ - darwin
19+
20+ archives :
21+ - format : tar.gz
22+ # this name template makes the OS and Arch compatible with the results of `uname`.
23+ name_template : >-
24+ {{ .ProjectName }}_
25+ {{- title .Os }}_
26+ {{- if eq .Arch "amd64" }}x86_64
27+ {{- else if eq .Arch "386" }}i386
28+ {{- else }}{{ .Arch }}{{ end }}
29+ {{- if .Arm }}v{{ .Arm }}{{ end }}
30+ # use zip for windows archives
31+ format_overrides :
32+ - goos : windows
33+ format : zip
34+
35+ nfpms :
36+ - formats :
37+ - apk
38+ - deb
39+ - rpm
40+ - archlinux
41+
42+ maintainer : Jiří Fatka <ntsfka@pm.me>
43+
44+ description : >
45+ CDT — Common Developer Tool. A front-end tool that aims to simplify developer workflow. It unifies the interface
46+ for working with different types of projects and programming languages.
47+
48+ changelog :
49+ disable : true
Original file line number Diff line number Diff line change @@ -9,12 +9,10 @@ require (
99 github.com/urfave/cli/v3 v3.4.1
1010 golang.org/x/term v0.35.0
1111 gopkg.in/yaml.v3 v3.0.1
12- gotest.tools/v3 v3.5.2
1312)
1413
1514require (
1615 github.com/davecgh/go-spew v1.1.1 // indirect
17- github.com/google/go-cmp v0.7.0 // indirect
1816 github.com/kr/pretty v0.3.1 // indirect
1917 github.com/mattn/go-colorable v0.1.14 // indirect
2018 github.com/mattn/go-isatty v0.0.20 // indirect
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
33github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
44github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM =
55github.com/fatih/color v1.18.0 /go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU =
6- github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8 =
7- github.com/google/go-cmp v0.7.0 /go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU =
86github.com/jedib0t/go-pretty/v6 v6.6.8 h1:JnnzQeRz2bACBobIaa/r+nqjvws4yEhcmaZ4n1QzsEc =
97github.com/jedib0t/go-pretty/v6 v6.6.8 /go.mod h1:YwC5CE4fJ1HFUDeivSV1r//AmANFHyqczZk+U6BDALU =
108github.com/kr/pretty v0.2.1 /go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI =
@@ -47,5 +45,3 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN
4745gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c /go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q =
4846gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
4947gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
50- gotest.tools/v3 v3.5.2 h1:7koQfIKdy+I8UTetycgUqXWSDwpgv193Ka+qRsmBY8Q =
51- gotest.tools/v3 v3.5.2 /go.mod h1:LtdLGcnqToBH83WByAAi/wiwSFCArdFIUV/xxN4pcjA =
You can’t perform that action at this time.
0 commit comments