File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1414 push :
1515 tags :
1616 - ' v*'
17+ permissions :
18+ contents : write
1719jobs :
1820 goreleaser :
1921 runs-on : ubuntu-latest
@@ -28,18 +30,18 @@ jobs:
2830 name : Set up Go
2931 uses : actions/setup-go@v3
3032 with :
31- go-version : ' 1.18'
33+ go-version-file : ' go.mod'
34+ cache : true
3235 -
3336 name : Import GPG key
37+ uses : crazy-max/ghaction-import-gpg@v5
3438 id : import_gpg
35- 36- env :
37- # These secrets will need to be configured for the repository:
38- GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
39- PASSPHRASE : ${{ secrets.PASSPHRASE }}
39+ with :
40+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
41+ passphrase : ${{ secrets.PASSPHRASE }}
4042 -
4143 name : Run GoReleaser
42- uses : goreleaser/goreleaser-action@v3
44+ uses : goreleaser/goreleaser-action@v3.0.0
4345 with :
4446 version : latest
4547 args : release --rm-dist
Original file line number Diff line number Diff line change 11module github.com/terraform-providers/terraform-provider-bitbucket
22
3+ go 1.18
4+
35require (
46 github.com/DrFaust92/bitbucket-go-client v0.1.0
57 github.com/antihax/optional v1.0.0
You can’t perform that action at this time.
0 commit comments