@@ -17,21 +17,22 @@ jobs:
1717 jq -rc .label.name $GITHUB_EVENT_PATH | cut -d/ -f 2
1818 )"
1919 - name : Checkout
20- uses : actions/checkout@v4
20+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2121 with :
2222 ref : ${{ github.event.pull_request.head.sha }}
23- - uses : actions/setup-go@v5
23+ - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2424 with :
25- go-version : ' 1.21'
25+ go-version-file : ' go.mod'
26+ cache : true
2627 - name : Acceptance Tests (Anonymous)
2728 id : acceptance-tests-anonymous
28- uses :
terraformtesting/[email protected] 29+ uses : terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
2930 with :
3031 TF_LOG : INFO
3132 RUN_ALLOWED : ${{ steps.args.outputs.run_allowed }}
3233 - name : Failed Acceptance Tests (Anonymous)
3334 if : ${{ failure() }}
34- uses :
terraformtesting/[email protected] 35+ uses : terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
3536 with :
3637 TF_LOG : DEBUG
3738 RUN_ALLOWED : ${{ steps.acceptance-tests-anonymous.outputs.run_allowed }}
@@ -48,15 +49,16 @@ jobs:
4849 jq -rc .label.name $GITHUB_EVENT_PATH | cut -d/ -f 2
4950 )"
5051 - name : Checkout
51- uses : actions/checkout@v4
52+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5253 with :
5354 ref : ${{ github.event.pull_request.head.sha }}
54- - uses : actions/setup-go@v5
55+ - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
5556 with :
56- go-version : ' 1.21'
57+ go-version-file : ' go.mod'
58+ cache : true
5759 - name : Acceptance Tests (Individual)
5860 id : acceptance-tests-individual
59- uses :
terraformtesting/[email protected] 61+ uses : terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
6062 with :
6163 TF_LOG : INFO
6264 RUN_ALLOWED : ${{ steps.args.outputs.run_allowed }}
6567 GITHUB_TEST_ORGANIZATION : terraformtesting
6668 - name : Failed Acceptance Tests (Individual)
6769 if : ${{ failure() }}
68- uses :
terraformtesting/[email protected] 70+ uses : terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
6971 with :
7072 TF_LOG : DEBUG
7173 RUN_ALLOWED : ${{ steps.args.outputs.run_allowed }}
@@ -84,16 +86,17 @@ jobs:
8486 jq -rc .label.name $GITHUB_EVENT_PATH | cut -d/ -f 2
8587 )"
8688 - name : Checkout
87- uses : actions/checkout@v4
89+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
8890 with :
8991 ref : ${{ github.event.pull_request.head.sha }}
90- - uses : actions/setup-go@v5
92+ - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
9193 with :
92- go-version : ' 1.21'
94+ go-version-file : ' go.mod'
95+ cache : true
9396
9497 - name : Acceptance Tests (Organization)
9598 id : acceptance-tests-organization
96- uses :
terraformtesting/[email protected] 99+ uses : terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
97100 with :
98101 TF_LOG : INFO
99102 RUN_ALLOWED : ${{ steps.args.outputs.run_allowed }}
@@ -102,14 +105,11 @@ jobs:
102105 GITHUB_TEST_OWNER : github-terraform-test-user
103106
104107 - name : Failed Acceptance Tests (Organization)
105- uses :
terraformtesting/[email protected] 108+ uses : terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
106109 if : ${{ failure() }}
107110 with :
108111 TF_LOG : DEBUG
109112 RUN_ALLOWED : ${{ steps.args.outputs.run_allowed }}
110113 GITHUB_ORGANIZATION : terraformtesting
111114 GITHUB_TEST_USER_TOKEN : ${{ secrets.DOTCOM_TEST_USER_TOKEN }}
112115 GITHUB_TEST_OWNER : github-terraform-test-user
113-
114-
115-
0 commit comments