blob: 99cca039bc40c6d83fe508d45a61b6c5c8b27091 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
name: Linters
on: [push, pull_request]
jobs:
golangci-lint:
name: Golang-CI (lint)
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Run linter
uses: golangci/golangci-lint-action@v2 # Action page: <https://github.com/golangci/golangci-lint-action>
with:
version: v1.42 # without patch version
only-new-issues: false # show only new issues if it's a pull request
args: --timeout=10m
|