Skip to content

docs(status): document removal of manpage submodule #466

docs(status): document removal of manpage submodule

docs(status): document removal of manpage submodule #466

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
test:
runs-on: ubuntu-latest
env:
GOEXPERIMENT: jsonv2
strategy:
matrix:
go-version: ["1.26"]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Download dependencies
run: go mod download
- name: Build
run: go build ./...
- name: Test
run: go test ./... -count=1 -timeout 120s
- name: Test with race detector
run: go test ./... -count=1 -timeout 120s -race
- name: Coverage
run: |
go test ./... -count=1 -timeout 120s -coverprofile=coverage.out -covermode=atomic
go tool cover -func=coverage.out
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage.out
fail_ci_if_error: false
lint:
runs-on: ubuntu-latest
env:
GOEXPERIMENT: jsonv2
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.26"
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.12.2
args: ./...
nix-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v16
- name: Check flake
run: nix flake check -L
benchmark:
runs-on: ubuntu-latest
env:
GOEXPERIMENT: jsonv2
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.26"
- name: Run benchmarks
run: go test ./benchmarks/ -bench=. -benchmem -count=1 -timeout 120s
gowork-off:
runs-on: ubuntu-latest
env:
GOEXPERIMENT: jsonv2
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.26"
- name: Verify build without workspace
run: GOWORK=off go build ./...
working-directory: ${{ github.workspace }}