Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 12 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,23 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.17
-
name: Test
go-version: stable

- name: Test
run: go test ./...
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
args: ${{ github.ref_type == 'tag' && 'release' || 'build --snapshot' }} --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

13 changes: 5 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
project_name: curlie
builds:
-
binary: curlie
- binary: curlie
env:
- CGO_ENABLED=0
goos:
Expand All @@ -14,14 +14,12 @@ builds:
- arm
- arm64
ignore:
-
goos: windows
- goos: windows
goarch: arm64
release:
name_template: "{{.ProjectName}}-v{{.Version}}"
brews:
-
tap:
- repository:
owner: rs
name: homebrew-tap
commit_author:
Expand All @@ -30,8 +28,7 @@ brews:
homepage: https://github.com/rs/curlie
description: The power of curl, the ease of use of httpie.
nfpms:
-
maintainer: Olivier Poitrey <[email protected]>
- maintainer: Olivier Poitrey <[email protected]>
description: curle is a frontend to curl that offers the ease of use of httpie without having to compromise curl features and performance.
license: MIT
formats:
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/rs/curlie

go 1.24.0

require (
golang.org/x/sys v0.15.0
golang.org/x/term v0.15.0
golang.org/x/sys v0.30.0
golang.org/x/term v0.29.0
)

go 1.13
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU=
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s=
Loading