Skip to content

fixed lint errors

fixed lint errors #102

name: golangci-lint
# Controls when the action will run. Triggers the workflow on push or pull requests
on: [push, pull_request]
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest