Skip to content

Commit

Permalink
update golangci-lint
Browse files Browse the repository at this point in the history
Signed-off-by: franknstyle <[email protected]>
  • Loading branch information
franknstyle committed May 2, 2023
1 parent ded5a92 commit 5eec1f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
- name: golangci-lint run
uses: golangci/golangci-lint-action@v3
with:
version: v1.50
version: v1.52.2
skip-pkg-cache: true
skip-build-cache: true
args: --timeout=2m0s -v
args: --timeout=5m0s -v
bash-lint:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions scripts/build_funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PPC64LE_IMAGE=gcr.io/distroless/static:nonroot-ppc64le
S390X_IMAGE=gcr.io/distroless/static:nonroot-s390x
WIN_AMD64_BASEIMAGE=mcr.microsoft.com/windows/nanoserver
TEST_IMAGE=testimage:v0.1
LINT_IMAGE=golangci/golangci-lint:v1.50
LINT_IMAGE=golangci/golangci-lint:v1.52.2
KIND_CLUSTER=kind

SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )"
Expand Down Expand Up @@ -85,7 +85,7 @@ local_integration(){

lint() {
docker run --rm -v "$(pwd)":$BUILDMNT -w $BUILDMNT $LINT_IMAGE /bin/sh -c \
"golangci-lint run --out-format=github-actions --timeout=2m0s -v"
"golangci-lint run --out-format=github-actions --timeout=5m0s -v"
}

vet() {
Expand Down

0 comments on commit 5eec1f7

Please sign in to comment.