chore(ci): update golangci, delete old test_script

This commit is contained in:
jguer committed 2021-07-25 12:19:59 +02:00
1 parent e4a933da52
commit d460e7ae5b
2 files changed
+2 -15

No files matched your search

+2 -2
View File
@@ -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 .
-13
View File
@@ -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