Browse Source

chore(ci): update golangci, delete old test_script

jguer 3 years atrás
parent
commit
d460e7ae5b
2 changed files with 2 additions and 15 deletions
  1. 2 2
      ci.Dockerfile
  2. 0 13
      testdata/install_test.sh

+ 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 pacman fakeroot binutils gcc make git gettext diffutils && \
+RUN pacman -Syu --overwrite=* --needed --noconfirm go pacman 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.40.1
+RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1
 
 COPY go.mod .
 

+ 0 - 13
testdata/install_test.sh

@@ -1,13 +0,0 @@
-#!/bin/bash
-
-function error() {
-  echo "ERROR: $1"
-  exit 1
-}
-
-echo "Start simple"
-./yay -S shfmt --noconfirm || error "unable to make shfmt"
-
-./yay -Qsq shfmt || error "unable to install shfmt"
-
-exit 0