Skip to content

Commit

Permalink
add optional hook before building klotho
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuval Shavit authored Jan 31, 2023
1 parent 5f086f1 commit 9d4e4f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/run-integ-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 ./...
Expand Down

0 comments on commit 9d4e4f6

Please sign in to comment.