diff --git a/.github/workflows/run-integ-tests.yaml b/.github/workflows/run-integ-tests.yaml index 0ae573fe8..4cd6fd3c9 100644 --- a/.github/workflows/run-integ-tests.yaml +++ b/.github/workflows/run-integ-tests.yaml @@ -60,6 +60,11 @@ on: required: false type: string default: us-east-2 + pre-build-script: # This input is intentionally NOT in workflow_dispatch + description: path to a script (within the caller's repo) to invoke before `go build`. must be executable. + required: false + type: string + default: '' concurrency: integ-tests name: run integration tests jobs: @@ -111,6 +116,9 @@ jobs: - uses: actions/setup-go@v3 with: go-version: 1.19.x + - name: pre-build + if: ${{ inputs.pre-build-script }} + run: ${{ inputs.pre-build-script }} - name: build run: | go generate ./...