Skip to content

feat: add 3 new CLI commands + enhance find/export/transform/replay #6

feat: add 3 new CLI commands + enhance find/export/transform/replay

feat: add 3 new CLI commands + enhance find/export/transform/replay #6

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.19", "1.21", "1.22"]
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 ./pkg/har/ -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.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --timeout=5m