Skip to content

feat: Update dev/qa deployments to use variable passing from complian… #61

feat: Update dev/qa deployments to use variable passing from complian…

feat: Update dev/qa deployments to use variable passing from complian… #61

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Install dependencies
run: go mod download
- name: Build
run: make build
- name: Test
run: make test
build-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build ${{ matrix.goos }}-${{ matrix.goarch }}
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: |
go build -o bin/compliance-cli-${{ matrix.goos }}-${{ matrix.goarch }} cmd/deploy/main.go