Skip to content

APIGOV-00001 - update SDK for release #123

APIGOV-00001 - update SDK for release

APIGOV-00001 - update SDK for release #123

Workflow file for this run

name: Build agents
on:
push:
branches: [main, "*"]
jobs:
testDiscoveryAgent:
uses: ./.github/workflows/run-da-tests.yml
testTraceabilityAgent:
uses: ./.github/workflows/run-ta-tests.yml
buildDiscoveryAgent:
needs: testDiscoveryAgent
env:
GOFLAGS: "-mod=mod"
GOWORK: "off"
defaults:
run:
working-directory: ${{ env.GOPATH }}/discovery
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: discovery
run: |
git fetch --all --tags --quiet
git branch --show-current > commit_id
git tag -l --sort='version:refname' | grep -Eo '[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$' | tail -1 > version
make build
buildTraceabilityAgent:
needs: testTraceabilityAgent
env:
GOFLAGS: "-mod=mod"
GOWORK: "off"
defaults:
run:
working-directory: ${{ env.GOPATH }}/traceability
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 traceability agent
working-directory: traceability
run: |
git fetch --all --tags --quiet
git branch --show-current > commit_id
git tag -l --sort='version:refname' | grep -Eo '[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$' | tail -1 > version
make build