ci(yay): update golangci and remove deprecated

This commit is contained in:
jguer
2021-04-12 16:28:46 +02:00
committed by J Guerreiro
parent 2da1e154c2
commit ca7165ecb6
2 changed files with 2 additions and 3 deletions

View File

@@ -74,7 +74,6 @@ linters:
- varcheck
- whitespace
- prealloc
- maligned
# disabled want to fix
#- scopelint

View File

@@ -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 .