Compare commits

..

No commits in common. "322a1fdf557601bc5da6f3a5b0ebd1b7e1eeb03d" and "982b8abdc1e05978fa5c3637a6139d6a1f464575" have entirely different histories.

View File

@ -1,7 +1,7 @@
FROM focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest FROM focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest
ARG GO_VERSION=1.24.1 ARG GO_VERSION=1.23.3
ARG GOLANGCI_LINT_VERSION=1.64.8 ARG GOLANGCI_LINT_VERSION=1.61.0
ENV PATH=$PATH:/usr/local/go/bin:/root/go/bin ENV PATH=$PATH:/usr/local/go/bin:/root/go/bin
RUN sed -i s@/archive.ubuntu.com/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list && \ RUN sed -i s@/archive.ubuntu.com/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list && \
@ -15,7 +15,7 @@ RUN wget -q https://studygolang.com/dl/golang/go${GO_VERSION}.linux-amd64.tar.gz
tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz && \
rm go${GO_VERSION}.linux-amd64.tar.gz rm go${GO_VERSION}.linux-amd64.tar.gz
RUN wget -q https://ghfast.top/https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz && \ RUN wget -q https://ghp.ci/https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz && \
tar -C /tmp -xzf golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz && \ tar -C /tmp -xzf golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz && \
rm -rf golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz && \ rm -rf golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz && \
mkdir -p /root/go/bin && \ mkdir -p /root/go/bin && \