File tree 1 file changed +6
-23
lines changed
1 file changed +6
-23
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- pull_request :
7
+ pull_request_target :
8
8
9
9
permissions :
10
10
actions : read
@@ -15,31 +15,14 @@ permissions:
15
15
16
16
jobs :
17
17
tf-test :
18
- name : ${{ matrix.tf }} Test
18
+ name : 🧪 ${{ matrix.tf }} test
19
19
runs-on : ubuntu-latest
20
20
strategy :
21
21
matrix :
22
22
tf : [tofu, terraform]
23
23
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
37
25
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