Skip to content

feat: sync 3 weeks of taint research + structural split (batou-core / batou-rules) #44

feat: sync 3 weeks of taint research + structural split (batou-core / batou-rules)

feat: sync 3 weeks of taint research + structural split (batou-core / batou-rules) #44

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: go vet
env:
CGO_ENABLED: '1'
run: go vet ./batou-core/... ./batou-rules/...
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Run tests
env:
CGO_ENABLED: '1'
run: go test -race -count=1 ./batou-core/... ./batou-rules/...
- name: Build
env:
CGO_ENABLED: '1'
run: go build -o /dev/null ./batou-core/cmd/batou