From ca7165ecb651bfbb0a3586dce20d5f7c4d29dfbb Mon Sep 17 00:00:00 2001 From: jguer Date: Mon, 12 Apr 2021 16:28:46 +0200 Subject: [PATCH] ci(yay): update golangci and remove deprecated --- .golangci.yml | 1 - ci.Dockerfile | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 71fde5ec..3eef7d17 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -74,7 +74,6 @@ linters: - varcheck - whitespace - prealloc - - maligned # disabled want to fix #- scopelint diff --git a/ci.Dockerfile b/ci.Dockerfile index ee630744..050ba59f 100644 --- a/ci.Dockerfile +++ b/ci.Dockerfile @@ -4,10 +4,10 @@ LABEL maintainer="Jguer,joaogg3 at google mail" ENV GO111MODULE=on WORKDIR /app -RUN pacman -Syu --overwrite=* --needed --noconfirm go fakeroot binutils gcc make git gettext &&\ +RUN pacman -Syu --overwrite=* --needed --noconfirm go fakeroot binutils gcc make git gettext diffutils &&\ rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* -RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.38.0 +RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.39.0 COPY go.mod .