name: Linters on: [push, pull_request] jobs: golangci-lint: name: Golang-CI (lint) runs-on: ubuntu-20.04 steps: - name: Check out code uses: actions/checkout@v2 - name: Run linter uses: golangci/golangci-lint-action@v2 # Action page: with: version: v1.39 # without patch version only-new-issues: false # show only new issues if it's a pull request