Revert linting action to the canonical version (#533)

This commit is contained in:
Markus Thömmes 2021-09-16 11:46:39 +02:00 committed by GitHub
parent 90c60b693d
commit 3bceab840d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -128,12 +128,6 @@ jobs:
uses: golangci/golangci-lint-action@v2
with:
version: v1.42
# tar errors extracting to pkg dir
# example: https://github.com/knative-sandbox/kn-plugin-func/pull/490/checks?check_run_id=3551662472
# issue: https://github.com/golangci/golangci-lint-action/issues/244
# hotfix is to skip the pkg cache, which also requires an extended timeout:
skip-pkg-cache: true
args: --timeout=5m
- name: misspell
shell: bash

View File

@ -6,6 +6,9 @@
#
#
#
run:
timeout: 5m
linters:
enable:
- unconvert