File tree Expand file tree Collapse file tree 3 files changed +10
-19
lines changed Expand file tree Collapse file tree 3 files changed +10
-19
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,6 @@ permissions:
9
9
contents : write
10
10
11
11
jobs :
12
- go-version :
13
- runs-on : ubuntu-latest
14
- outputs :
15
- version : ${{ steps.go-version.outputs.version }}
16
- steps :
17
- - uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
18
- - id : go-version
19
- run : echo "::set-output name=version::$(cat ./.go-version)"
20
12
release-notes :
21
13
runs-on : ubuntu-latest
22
14
steps :
32
24
retention-days : 1
33
25
terraform-provider-release :
34
26
name : ' Terraform Provider Release'
35
- needs : [go-version, release-notes]
27
+ needs : [release-notes]
36
28
uses : hashicorp/ghaction-terraform-provider-release/.github/workflows/hashicorp.yml@106e6d08159ccec423310cc2c706bae59f46c09c # v2.2.0
37
29
secrets :
38
30
hc-releases-github-token : ' ${{ secrets.HASHI_RELEASES_GITHUB_TOKEN }}'
46
38
signore-client-secret : ' ${{ secrets.SIGNORE_CLIENT_SECRET }}'
47
39
with :
48
40
release-notes : true
49
- setup-go-version : ' ${{ needs.go-version.outputs.version }} '
41
+ setup-go-version-file : ' go.mod '
50
42
# Product Version (e.g. v1.2.3 or github.ref_name)
51
43
product-version : ' ${{ github.ref_name }}'
Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ jobs:
19
19
timeout-minutes : 5
20
20
steps :
21
21
22
+ - name : Check out code into the Go module directory
23
+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
24
+
22
25
- name : Set up Go
23
26
uses : actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
24
27
with :
25
- go-version : ' 1.18 '
28
+ go-version-file : ' go.mod '
26
29
id : go
27
30
28
- - name : Check out code into the Go module directory
29
- uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
30
-
31
31
- name : Go fmt
32
32
run : |
33
33
make fmt
@@ -58,15 +58,15 @@ jobs:
58
58
- ' 0.15.1'
59
59
steps :
60
60
61
+ - name : Check out code into the Go module directory
62
+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
63
+
61
64
- name : Set up Go
62
65
uses : actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
63
66
with :
64
- go-version : ' 1.18 '
67
+ go-version-file : ' go.mod '
65
68
id : go
66
69
67
- - name : Check out code into the Go module directory
68
- uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
69
-
70
70
- name : TF acceptance tests
71
71
timeout-minutes : 10
72
72
env :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments