Skip to content

Add hardening features, CI standards alignment, and compliance check #5

Add hardening features, CI standards alignment, and compliance check

Add hardening features, CI standards alignment, and compliance check #5

Workflow file for this run

name: main
on:
push:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go mod tidy
- run: gofmt -w . && git diff --exit-code
- run: go vet ./...
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go test ./... -coverprofile=coverage.out
- run: ./scripts/check_go_coverage.py coverage.out 45
- run: ./scripts/check_go_package_coverage.py coverage.out 45 core/exitcode
- run: ./scripts/test_contract_exitcodes.sh
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go build ./cmd/proof