Skip to content

Commit e7eef02

Browse files
author
Abdul Wahid
committed
Update github actions workflow
1 parent 896b88d commit e7eef02

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/terraform-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
env:
10-
TF_VERSION: 0.13.0
10+
TF_VERSION: 1.1.7
1111

1212
jobs:
1313
fmt:

.github/workflows/test.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
workflow_dispatch:
88

99
env:
10-
TF_VERSION: 0.13.0
11-
GO_VERSION: 1.16.5
10+
TF_VERSION: 1.1.7
11+
GO_VERSION: 1.19
1212

1313
jobs:
1414
terratest:
@@ -28,20 +28,12 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
go mod download
31-
go get -u golang.org/x/lint/golint
3231
go get github.com/gruntwork-io/terratest/modules/[email protected]
3332
working-directory: ${{ env.working-directory }}
34-
- name: Run checks
35-
run: |
36-
go vet .
37-
golint .
38-
working-directory: ${{ env.working-directory }}
3933

4034
- name: Configure AWS credentials
4135
uses: aws-actions/configure-aws-credentials@v1
4236
with:
43-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
44-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
4537
aws-region: eu-west-1
4638
role-skip-session-tagging: true
4739
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}

0 commit comments

Comments
 (0)