File tree 2 files changed +8
-8
lines changed 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,24 @@ jobs:
17
17
goreleaser :
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : actions/checkout@v4
20
+ - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
21
21
with :
22
22
# Allow goreleaser to access older tag information.
23
23
fetch-depth : 0
24
- - uses : actions/setup-go@v5
24
+ - uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
25
25
with :
26
26
go-version-file : ' go.mod'
27
27
cache : true
28
28
- name : Import GPG key
29
+ uses : crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
29
30
id : import_gpg
30
-
31
31
with :
32
- # These secrets will need to be configured for the repository:
33
32
gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
34
33
passphrase : ${{ secrets.PASSPHRASE }}
35
34
- name : Run GoReleaser
36
- uses :
goreleaser/[email protected]
35
+ uses : goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
37
36
with :
38
- args : release --rm-dist
37
+ args : release --clean
39
38
env :
40
39
# GitHub sets the GITHUB_TOKEN secret automatically.
41
40
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# Visit https://goreleaser.com for documentation on how to customize this
2
2
# behavior.
3
+ version : 2
3
4
before :
4
5
hooks :
5
6
# this is just an example and not a requirement for provider building/publishing
6
7
- go mod tidy
7
8
builds :
8
9
- env :
9
10
# goreleaser does not work with CGO, it could also complicate
10
- # usage by users in CI/CD systems like Terraform Cloud where
11
+ # usage by users in CI/CD systems like HCP Terraform where
11
12
# they are unable to install libraries.
12
13
- CGO_ENABLED=0
13
14
mod_timestamp : ' {{ .CommitTimestamp }}'
@@ -57,4 +58,4 @@ release:
57
58
# If you want to manually examine the release before its live, uncomment this line:
58
59
# draft: true
59
60
changelog :
60
- skip : true
61
+ disable : true
You can’t perform that action at this time.
0 commit comments