Browse Source

ci(yay): update golangci and remove deprecated

jguer 4 năm trước cách đây
mục cha
commit
ca7165ecb6
2 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 0 1
      .golangci.yml
  2. 2 2
      ci.Dockerfile

+ 0 - 1
.golangci.yml

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

+ 2 - 2
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 .