Make agent run directory configurable #180
This file contains hidden or 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 and test workflow | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-rmap: | |
name: Build rmap | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: cli | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ^1.24.1 | |
- name: Get dependencies | |
run: make get-deps | |
- name: Build | |
run: make rmap | |
- name: Test | |
run: make tests | |
build-reconmapd: | |
name: Build reconmapd | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: agent | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ^1.24.1 | |
- name: Get dependencies | |
run: make get-deps | |
- name: Build | |
run: make reconmapd | |
- name: Test | |
run: make tests |