ci(yay): update golangci and remove deprecated
This commit is contained in:
1 parent
2da1e154c2
commit
ca7165ecb6
2 files changed
+2
-3
No files matched your search
@@ -74,7 +74,6 @@ linters:
|
||||
- varcheck
|
||||
- whitespace
|
||||
- prealloc
|
||||
- maligned
|
||||
|
||||
# disabled want to fix
|
||||
#- scopelint
|
||||
|
||||
+2
-2
@@ -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 .
|
||||
|
||||
|
||||
Reference in new issue
Block a user