mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
chore(ci): update golangci, delete old test_script
This commit is contained in:
parent
e4a933da52
commit
d460e7ae5b
|
@ -4,10 +4,10 @@ LABEL maintainer="Jguer,joaogg3 at google mail"
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
WORKDIR /app
|
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/*
|
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 .
|
COPY go.mod .
|
||||||
|
|
||||||
|
|
13
testdata/install_test.sh
vendored
13
testdata/install_test.sh
vendored
|
@ -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
|
|
Loading…
Reference in a new issue