diff --git a/.github/actions/acc_test/action.yaml b/.github/actions/acc_test/action.yaml index dce9381b..9b586a62 100644 --- a/.github/actions/acc_test/action.yaml +++ b/.github/actions/acc_test/action.yaml @@ -71,6 +71,10 @@ runs: # run: | # go run generator/main.go build -p + - name: Run go mod tidy + shell: bash + run: go mod tidy + - name: Run acceptance test file if: ${{ inputs.test_file != '' }} shell: bash diff --git a/.github/workflows/tf-acc-test.yaml b/.github/workflows/tf-acc-test.yaml index 3b4fb061..83bff12f 100644 --- a/.github/workflows/tf-acc-test.yaml +++ b/.github/workflows/tf-acc-test.yaml @@ -14,6 +14,11 @@ jobs: - name: Checkout uses: actions/checkout@v6 + - name: Create service account json file + shell: bash + run: | + echo "${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}" >~/.service_account.json + - name: Run Test uses: ./.github/actions/acc_test with: