Skip to content

Commit fe9d0ae

Browse files
authored
Merge pull request #1 from gynzy/PF-3145-use-go-client-with-4xx-5xx-retry
feat: import gynzy statuscake-go v1.3.0-gynzy1 with 4xx, 5xx retry
2 parents 3eaecd0 + d17015c commit fe9d0ae

File tree

4 files changed

+6
-22
lines changed

4 files changed

+6
-22
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ jobs:
1414
fetch-depth: 0
1515
- uses: actions/setup-go@v6
1616
with:
17-
go-version: "1.21"
18-
- id: import_gpg
19-
uses: crazy-max/ghaction-import-gpg@v6
20-
with:
21-
gpg_private_key: ${{ secrets.ARTEFACT_SIGNING_KEY }}
22-
passphrase: ${{ secrets.ARTEFACT_SIGNING_KEY_PASSPHRASE }}
17+
go-version: "1.24"
2318
- uses: goreleaser/goreleaser-action@v6
2419
with:
2520
version: latest

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ require (
99
golang.org/x/time v0.14.0
1010
)
1111

12+
replace github.com/StatusCakeDev/statuscake-go => github.com/gynzy/statuscake-go v1.3.0-gynzy1
13+
1214
require (
1315
github.com/BurntSushi/toml v1.2.1 // indirect
1416
github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo
1414
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
1515
github.com/ProtonMail/go-crypto v1.1.6 h1:ZcV+Ropw6Qn0AX9brlQLAUXfqLBc7Bl+f/DmNxpLfdw=
1616
github.com/ProtonMail/go-crypto v1.1.6/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
17-
github.com/StatusCakeDev/statuscake-go v1.3.0 h1:Ok6LIZUKhoe/ykcUuIzS8zg6MbtCrO3I1ZBVFl3TLMA=
18-
github.com/StatusCakeDev/statuscake-go v1.3.0/go.mod h1:YefpyhDUs1gLCKXG5F9pPcZAp3rk4JyNkb9dfHbgr1I=
1917
github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
2018
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
2119
github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec=
@@ -70,6 +68,8 @@ github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX
7068
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
7169
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
7270
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
71+
github.com/gynzy/statuscake-go v1.3.0-gynzy1 h1:AyZNYwOLaJ7a/LetvLZkN8+d8xvzhupJIKHx23HFfyw=
72+
github.com/gynzy/statuscake-go v1.3.0-gynzy1/go.mod h1:YefpyhDUs1gLCKXG5F9pPcZAp3rk4JyNkb9dfHbgr1I=
7373
github.com/hashicorp/cli v1.1.7 h1:/fZJ+hNdwfTSfsxMBa9WWMlfjUZbX8/LnUxgAd7lCVU=
7474
github.com/hashicorp/cli v1.1.7/go.mod h1:e6Mfpga9OCT1vqzFuoGZiiF/KaG9CbUfO5s3ghU3YgU=
7575
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=

goreleaser.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
version: 2
23
# Visit https://goreleaser.com for documentation on how to customize this
34
# behavior.
45
archives:
@@ -32,8 +33,6 @@ builds:
3233
- goarch: "386"
3334
goos: darwin
3435
mod_timestamp: "{{ .CommitTimestamp }}"
35-
changelog:
36-
skip: true
3736
checksum:
3837
algorithm: sha256
3938
extra_files:
@@ -44,15 +43,3 @@ release:
4443
extra_files:
4544
- glob: terraform-registry-manifest.json
4645
name_template: "{{ .ProjectName }}_{{ .Version }}_manifest.json"
47-
signs:
48-
- artifacts: checksum
49-
args:
50-
# If you are using this in a GitHub action or some other automated pipeline,
51-
# you need to pass the batch flag to indicate its not interactive.
52-
- --batch
53-
- --local-user
54-
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
55-
- --output
56-
- ${signature}
57-
- --detach-sign
58-
- ${artifact}

0 commit comments

Comments
 (0)