File tree Expand file tree Collapse file tree 1 file changed +6
-23
lines changed
Expand file tree Collapse file tree 1 file changed +6
-23
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- pull_request :
7+ pull_request_target :
88
99permissions :
1010 actions : read
@@ -15,31 +15,14 @@ permissions:
1515
1616jobs :
1717 tf-test :
18- name : ${{ matrix.tf }} Test
18+ name : 🧪 ${{ matrix.tf }} test
1919 runs-on : ubuntu-latest
2020 strategy :
2121 matrix :
2222 tf : [tofu, terraform]
2323 steps :
24- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25-
26- - name : Aqua Cache
27- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
28- if : ${{ !github.event.act }} # Don't enable the cache step if we're using act for testing
29- with :
30- path : ~/.local/share/aquaproj-aqua
31- key : v1-aqua-installer-${{runner.os}}-${{runner.arch}}-${{hashFiles('aqua.yaml')}}
32- restore-keys : |
33- v1-aqua-installer-${{runner.os}}-${{runner.arch}}-
34-
35- - name : Install Aqua
36- uses : aquaproj/aqua-installer@5e54e5cee8a95ee2ce7c04cb993da6dfad13e59c # v3.2.1
24+ - uses : masterpointio/github-action-tf-test@c3b619f3bca9e4f482b9e0fb3166ab3f02d9d54c # v1.0.0
3725 with :
38- aqua_version : v2.48.1
39-
40- - name : Aqua Install
41- shell : bash
42- run : aqua install --tags ${{ matrix.tf }}
43-
44- - run : ${{ matrix.tf }} init
45- - run : ${{ matrix.tf }} test
26+ tf_type : ${{ matrix.tf }}
27+ aws_role_arn : ${{ vars.TF_TEST_AWS_ROLE_ARN }}
28+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments