Skip to content

GATEWAYS-4306: exporting metrics for conntrack per zone #44

GATEWAYS-4306: exporting metrics for conntrack per zone

GATEWAYS-4306: exporting metrics for conntrack per zone #44

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.25
- name: Install tooling
run: |
# Install analysis tools. staticcheck @latest for Go 1.24 compatibility.
go install honnef.co/go/tools/cmd/staticcheck@latest
# golint is deprecated; keep temporarily (will remove in follow-up)
go install golang.org/x/lint/golint@latest || echo "golint install failed (deprecated)"
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
- name: Build
run: go build -v -tags=gofuzz ./...
- name: vet
run: go vet ./...
- name: staticcheck
run: staticcheck ./...
- name: lint
run: golint -set_exit_status ./cmd/... ./internal/...
- name: Test
run: go test -v -race ./...