Skip to content

chore: add funding and ci workflows, fix lint issues #2

chore: add funding and ci workflows, fix lint issues

chore: add funding and ci workflows, fix lint issues #2

Workflow file for this run

name: CI
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
check-latest: true
- name: Format
run: go fmt ./...
- name: Vet
run: go vet ./...
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
install-mode: goinstall
- name: Test
run: go test -v ./...