Skip to content

docs(plans): verify package path consistency and 100% coverage #16

docs(plans): verify package path consistency and 100% coverage

docs(plans): verify package path consistency and 100% coverage #16

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.24", "1.25"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Go mod tidy
run: go mod tidy
- name: Verify go.mod
run: git diff --exit-code go.mod go.sum
- name: Build SDK
run: go build ./...
- name: Build CLI
run: go build ./cmd/har/
- name: Run tests
run: go test . -race -count=1 -timeout 120s
- name: Run go vet
run: go vet ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --timeout=5m