ci: freeze golangci action version (#5196)

## Description

This PR updates golang-ci to latest and stops looking at master for the action. 

Closes: #XXX
This commit is contained in:
Marko
2020-08-03 09:57:06 +02:00
committed by GitHub
parent 19fad101e2
commit 2d167aefcf
8 changed files with 11 additions and 10 deletions

View File

@@ -20,10 +20,10 @@ jobs:
.go
.mod
.sum
- uses: golangci/golangci-lint-action@master
- uses: golangci/golangci-lint-action@v2.1.0
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.28
version: v1.30
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: "env.GIT_DIFF != ''"