Skip to content

fix lint

fix lint #62

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
strategy:
matrix:
go: ["1.22"]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=3m
skip-cache: true
skip-pkg-cache: true
skip-build-cache: true
- run: go test -race ./...
- run: go test -bench=. ./...