Skip to content

Guide orchestrator away from reading binary files directly #3

Guide orchestrator away from reading binary files directly

Guide orchestrator away from reading binary files directly #3

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.26"
- name: Format check
run: |
diff=$(gofmt -l .)
if [ -n "$diff" ]; then
echo "Files not formatted:"
echo "$diff"
exit 1
fi
- name: Vet
run: go vet $(go list ./... | grep -v /render)
- name: Build (excluding CGo render package)
run: go build -tags norender -v ./cmd/argus
- name: Test (excluding CGo render package)
run: go test -v $(go list ./... | grep -v /render)