From 3b30ca1cd7a56ed7ba0557886e3728f81b4a69e1 Mon Sep 17 00:00:00 2001 From: "Marcel S. Henselin" Date: Mon, 9 Mar 2026 16:52:15 +0100 Subject: [PATCH] fix: fix tf acc test pipeline --- .github/actions/acc_test/action.yaml | 4 ++++ .github/workflows/tf-acc-test.yaml | 5 +++++ 2 files changed, 9 insertions(+) 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: