Skip to content

Fix tests and lint

Fix tests and lint #55

Workflow file for this run

name: Golanglint CI
on:
push:
branches:
- '**'
tags-ignore:
- '**'
paths:
- 'go.sum'
- 'go.mod'
- '**.go'
- .github/workflows/golangci-lint.yml
pull_request:
branches:
- main
jobs:
Go:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Checkout code
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: "--config .golangci-lint.yml"