Skip to content

Commit d31bc98

Browse files
committed
chore: test
1 parent cf631c5 commit d31bc98

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- chore/sync-with-templat
78
pull_request:
89

910
permissions:
@@ -21,25 +22,7 @@ jobs:
2122
matrix:
2223
tf: [tofu, terraform]
2324
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
25+
- uses: masterpointio/github-action-tf-test@c3b619f3bca9e4f482b9e0fb3166ab3f02d9d54c # v1.0.0
3726
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
27+
tf_type: ${{ matrix.tf }}
28+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)