Files
nmon/.github/workflows/ci.yml

36 lines
965 B
YAML

name: ci
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
arch: [ubuntu-latest, ubuntu-24.04-arm]
runs-on: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- uses: actions/setup-go@v5
with: { go-version: stable }
- uses: actions/setup-node@v4
with: { node-version: 22 }
- run: make web
- run: make vet test
- run: make test-integration
- run: make test-v6only
- run: make build && file nmon | grep -q 'statically linked'
postgres:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version: stable }
- run: make test-pg
openapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- uses: actions/setup-go@v5
with: { go-version: stable }
- run: ./scripts/openapi-check.sh