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
3 changes: 2 additions & 1 deletion .github/workflows/pr_release_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ permissions:
jobs:
test-goreleaser:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
version: "2.8.2"
args: release --snapshot --clean --skip=publish --timeout 30m --config .goreleaser.test.yaml --parallelism 4
args: release --snapshot --clean --skip=publish --timeout 45m --config .goreleaser.test.yaml --parallelism 2
env:
GORELEASER_CURRENT_TAG: "v0.0.0-test"
CERT_PASSWORD: "test"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:
jobs:
goreleaser:
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
version: "2.8.2"
args: release --clean --verbose --timeout 60m --parallelism 4
args: release --clean --verbose --timeout 60m --parallelism 2
env:
GITHUB_TOKEN: ${{secrets.PUBLISHER_TOKEN}}
GORELEASER_CURRENT_TAG: ${{steps.tagName.outputs.tag-name}}
Expand Down
3 changes: 1 addition & 2 deletions .goreleaser.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ release:
name_template: "SailPoint CLI {{.Version}}"

before:
hooks:
- go mod tidy
hooks: []

builds:
- id: windows
Expand Down
7 changes: 5 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ release:
name_template: "SailPoint CLI {{.Version}}"

before:
hooks:
- go mod tidy
hooks: []

builds:
- id: windows
Expand All @@ -29,12 +28,16 @@ builds:
goarch: ['386', arm, amd64, arm64]
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.version={{ .Version }}

- id: macos
binary: bin/sail
main: ./
goos: [darwin]
goarch: [amd64, arm64]
ldflags:
- -s -w -X main.version={{ .Version }}

archives:
- id: nix
Expand Down
Loading