blob: 41ea04fc8aeafd976291c56af79e971bcec63030 [file] [log] [blame]
name: golangci-lint
on:
push:
branches:
- master
- ci/* # a temporary branch to check CI can be named with 'ci/...'
pull_request:
branches:
- master
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v1
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.30
# Optional: working directory, useful for monorepos
# working-directory: somedir
# Optional: golangci-lint command line arguments.
args: --skip-files _test\.go