summaryrefslogtreecommitdiff
path: root/.github/workflows/linters.yml
blob: 79e00f9b926c570d5edbeb0dc203b61d10cbb128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.37 # without patch version
          only-new-issues: false # show only new issues if it's a pull request