File tree Expand file tree Collapse file tree 1 file changed +12
-22
lines changed Expand file tree Collapse file tree 1 file changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,14 @@ jobs:
1313 runs-on : ubuntu-latest
1414 timeout-minutes : 5
1515 steps :
16-
17- - name : Set up Go
18- uses : actions/setup-go@v3
16+ - uses : actions/checkout@v3
17+ - uses : actions/setup-go@v3
1918 with :
20- go-version : 1.19
21- id : go
22-
23- - name : Check out code into the Go module directory
24- uses : actions/checkout@v3
19+ go-version-file : ' go.mod'
20+ cache : true
2521
2622 - name : Get dependencies
27- run : |
28- go mod download
23+ run : go mod download
2924
3025 - name : Lint
3126 uses : golangci/golangci-lint-action@v3
@@ -49,22 +44,17 @@ jobs:
4944 matrix :
5045 terraform :
5146 - ' 0.15.5'
52- - ' 1.0.0 '
53- - ' 1.1.9 '
47+ - ' 1.2.9 '
48+ - ' 1.3.7 '
5449 steps :
55-
56- - name : Set up Go
57- uses : actions/setup-go@v3
50+ - uses : actions/checkout@v3
51+ - uses : actions/setup-go@v3
5852 with :
59- go-version : ^1.19
60- id : go
61-
62- - name : Check out code into the Go module directory
63- uses : actions/checkout@v3
53+ go-version-file : ' go.mod'
54+ cache : true
6455
6556 - name : Get dependencies
66- run : |
67- go mod download
57+ run : go mod download
6858
6959 - name : TF acceptance tests
7060 timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments