Merge branch APIGOV-UpdateSDKForTesting #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build agents | |
on: | |
push: | |
branches: [main, "*"] | |
jobs: | |
testAgents: | |
uses: ./.github/workflows/run-tests.yml | |
buildAgents: | |
needs: testAgents | |
env: | |
GOFLAGS: "-mod=mod" | |
GOWORK: "off" | |
VERSION: ${{ github.ref_name }} | |
COMMIT_ID: ${{ github.sha }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- name: Build discovery agent | |
working-directory: . | |
run: | | |
make build-discovery | |
- name: Build traceability agent | |
working-directory: . | |
run: | | |
make build-traceability |