blob: cee7085c3fd8894bc0302b59645b53f24f5ac165 (
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-20.04
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.40 # without patch version
only-new-issues: false # show only new issues if it's a pull request
args: --timeout=10m
|