diff --git a/ci.Dockerfile b/ci.Dockerfile index 2bf7f34..2edf995 100644 --- a/ci.Dockerfile +++ b/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 . diff --git a/testdata/install_test.sh b/testdata/install_test.sh deleted file mode 100644 index 35a6309..0000000 --- a/testdata/install_test.sh +++ /dev/null @@ -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