File tree 4 files changed +25
-31
lines changed
4 files changed +25
-31
lines changed Original file line number Diff line number Diff line change 8
8
goreleaser :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- -
12
- name : Checkout
13
- uses : actions/checkout@v2
11
+ - name : Checkout
12
+ uses : actions/checkout@v4
14
13
with :
15
14
fetch-depth : 0
16
- -
17
- name : Set up Go
18
- uses : actions/setup-go@v2
15
+
16
+ - name : Set up Go
17
+ uses : actions/setup-go@v5
19
18
with :
20
- go-version : 1.17
21
- -
22
- name : Test
19
+ go-version : stable
20
+
21
+ - name : Test
23
22
run : go test ./...
24
- -
25
- name : Run GoReleaser
26
- uses : goreleaser/goreleaser-action@v2
23
+
24
+ - name : Run GoReleaser
25
+ uses : goreleaser/goreleaser-action@v6
27
26
with :
28
- distribution : goreleaser
29
27
version : latest
30
- args : release --clean
28
+ args : ${{ github.ref_type == 'tag' && ' release' || 'build --snapshot' }} --clean
31
29
env :
32
30
GITHUB_TOKEN : ${{ secrets.GH_PAT }}
33
-
Original file line number Diff line number Diff line change
1
+ version : 2
1
2
project_name : curlie
2
3
builds :
3
- -
4
- binary : curlie
4
+ - binary : curlie
5
5
env :
6
6
- CGO_ENABLED=0
7
7
goos :
@@ -14,14 +14,12 @@ builds:
14
14
- arm
15
15
- arm64
16
16
ignore :
17
- -
18
- goos : windows
17
+ - goos : windows
19
18
goarch : arm64
20
19
release :
21
20
name_template : " {{.ProjectName}}-v{{.Version}}"
22
21
brews :
23
- -
24
- tap :
22
+ - repository :
25
23
owner : rs
26
24
name : homebrew-tap
27
25
commit_author :
30
28
homepage : https://github.com/rs/curlie
31
29
description : The power of curl, the ease of use of httpie.
32
30
nfpms :
33
- -
34
- maintainer : Olivier Poitrey <rs@rhapsodyk.net>
31
+ - maintainer : Olivier Poitrey <rs@rhapsodyk.net>
35
32
description : curle is a frontend to curl that offers the ease of use of httpie without having to compromise curl features and performance.
36
33
license : MIT
37
34
formats :
Original file line number Diff line number Diff line change 1
1
module github.com/rs/curlie
2
2
3
+ go 1.24.0
4
+
3
5
require (
4
- golang.org/x/sys v0.15 .0
5
- golang.org/x/term v0.15 .0
6
+ golang.org/x/sys v0.30 .0
7
+ golang.org/x/term v0.29 .0
6
8
)
7
-
8
- go 1.13
Original file line number Diff line number Diff line change 1
- golang.org/x/sys v0.15 .0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc =
2
- golang.org/x/sys v0.15 .0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
3
- golang.org/x/term v0.15 .0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4 =
4
- golang.org/x/term v0.15 .0 /go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0 =
1
+ golang.org/x/sys v0.30 .0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc =
2
+ golang.org/x/sys v0.30 .0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
3
+ golang.org/x/term v0.29 .0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU =
4
+ golang.org/x/term v0.29 .0 /go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s =
You can’t perform that action at this time.
0 commit comments