Skip to content

Initial version

Initial version #5

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true
- run: go version
- name: Vendor
run: go mod vendor
- name: Build
run: go build -v ./...
- name: Vet
run: go vet ./...
- name: Test
run: go test -count=1 -v ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56.2
skip-pkg-cache: true
skip-build-cache: true