From 48e469917e987d15723e273cd225ea5424def3f0 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Fri, 27 May 2022 17:27:40 +0000 Subject: [PATCH] chore(ci): remove tidy check - Not really needed with newer `go install` - Conflicts with Go 1.17 go.mod format - Conflicts with manual indirect dependency upgrade --- .github/workflows/ci.yml | 3 --- Dockerfile | 9 --------- 2 files changed, 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1eaa9285..ae594a7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,9 +52,6 @@ jobs: - name: Linting run: docker build --target lint . - - name: Go mod tidy check - run: docker build --target tidy . - - name: Build test image run: docker build --target test -t test-container . diff --git a/Dockerfile b/Dockerfile index a6931762..4869f806 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,15 +30,6 @@ FROM --platform=${BUILDPLATFORM} base AS lint COPY .golangci.yml ./ RUN golangci-lint run --timeout=10m -FROM --platform=${BUILDPLATFORM} base AS tidy -RUN git init && \ - git config user.email ci@localhost && \ - git config user.name ci && \ - git add -A && git commit -m ci && \ - sed -i '/\/\/ indirect/d' go.mod && \ - go mod tidy && \ - git diff --exit-code -- go.mod - FROM --platform=${BUILDPLATFORM} base AS build ARG TARGETPLATFORM ARG VERSION=unknown