diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c5e1197..b3c7189 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,5 +1,7 @@ name: Test +run-name: ${{ github.actor }} - ${{ github.ref_name }} + on: workflow_dispatch: pull_request: @@ -10,11 +12,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: 'Run code analysis' - shell: pwsh - run: scripts/test-code.ps1 + - name: Set up Terraform + uses: hashicorp/setup-terraform@v3 + with: + terraform_version: 1.8.4 - - name: 'Run test script' + - name: 'Test terraform plan' shell: pwsh - run: scripts/validate-artifacts.ps1 + run: tests/test-tf-plan.ps1 \ No newline at end of file