Skip to content

Add Retries and sanity checks. #17

Add Retries and sanity checks.

Add Retries and sanity checks. #17

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
cache: true
- name: Verify modules are tidy
run: |
go mod tidy
git diff --exit-code go.mod go.sum
- name: Vet
run: go vet ./...
- name: Test
run: go test ./... -race -count=1
- name: Build
run: go build ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
cache: true
- uses: golangci/golangci-lint-action@v8
with:
# v2.4.0+ ships binaries built with Go 1.25; required because go.mod
# targets go 1.25.x (older golangci-lint refuses to run).
version: v2.12.2