Skip to content

Persist and filter PoC trace reporting #62

Persist and filter PoC trace reporting

Persist and filter PoC trace reporting #62

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
go:
name: Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: test -z "$(gofmt -l internal protocol)"
- run: go install golang.org/x/tools/cmd/goimports@v0.36.0
- run: test -z "$(goimports -l internal protocol)"
- run: go test ./...
- run: go test -race ./...
- run: go test ./protocol/v0 -run=^$ -fuzz=Fuzz -fuzztime=10s
- run: go vet ./...
- run: go install honnef.co/go/tools/cmd/staticcheck@v0.8.1
- run: staticcheck ./...
- run: go install golang.org/x/vuln/cmd/govulncheck@v1.7.0
- run: govulncheck ./...
web:
name: Web
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
cache-dependency-path: web/package-lock.json
- run: npm ci
working-directory: web
- run: npm run typecheck
working-directory: web
- run: npm run lint
working-directory: web
- run: npm test
working-directory: web