Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Add Cursor support

Add Cursor support #33

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Check formatting
run: |
if [ -n "$(gofmt -l .)" ]; then
echo "Go code is not formatted. Run 'go fmt ./...' to fix:"
gofmt -d .
exit 1
fi
- name: Lint
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
golangci-lint run
- name: Test
run: |
go mod tidy
go vet ./...
go test -v -race -cover ./...
- name: Build
run: make build