1
0
mirror of https://github.com/Jguer/yay synced 2024-07-05 01:41:43 +00:00

chore(ci): update golangci, delete old test_script

This commit is contained in:
jguer 2021-07-25 12:19:59 +02:00
parent e4a933da52
commit d460e7ae5b
No known key found for this signature in database
GPG Key ID: 6D6CC9BEA8556B35
2 changed files with 2 additions and 15 deletions

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 .

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