Skip to content

fix lint

fix lint #84

Workflow file for this run

name: Go
on:
- push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: set up go 1.22
uses: actions/setup-go@v2
with:
go-version: 1.21
id: go
- name: checkout
uses: actions/checkout@v2
- name: install golangci-lint and goveralls
run: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.54.0
- name: run linters
run: $GITHUB_WORKSPACE/golangci-lint run --config .golangci.yml ./...
test:
runs-on: ubuntu-latest
steps:
- name: go-test-coverage
uses: vladopajic/[email protected]