Skip to content

fix lint error

fix lint error #74

Workflow file for this run

name: build
on:
push:
paths:
- '.github/workflows/build.yml'
- '**.go'
- 'go.mod'
- 'go.sum'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
go: [ 'stable' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Go Format
run: gofmt -s -w . && git diff --exit-code
- name: Go Tidy
run: go mod tidy && git diff --exit-code
- name: Go Mod
run: go mod download
- name: Go Mod Verify
run: go mod verify
- name: Go Build
run: go build -o /dev/null ./...
- name: Run tests
run: make test