mirror of
https://github.com/Jguer/yay.git
synced 2025-12-27 08:45:34 -05:00
ci(yay): update golangci and remove deprecated
This commit is contained in:
@@ -74,7 +74,6 @@ linters:
|
||||
- varcheck
|
||||
- whitespace
|
||||
- prealloc
|
||||
- maligned
|
||||
|
||||
# disabled want to fix
|
||||
#- scopelint
|
||||
|
||||
@@ -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