Skip to content

fix: lint errors, add README, LICENSE, and Makefile improvements #5

fix: lint errors, add README, LICENSE, and Makefile improvements

fix: lint errors, add README, LICENSE, and Makefile improvements #5

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
- uses: golangci/golangci-lint-action@v7
with:
version: v2.11.4
args: --timeout=5m
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: Test
run: go test -race -count=1 ./...