Skip to content

Commit

Permalink
Maint: remove tidy stage (go 1.17)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Sep 26, 2021
1 parent 9b35236 commit 863cf47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,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 .

Expand Down
9 changes: 0 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@ FROM base AS lint
COPY .golangci.yml ./
RUN golangci-lint run --timeout=10m

FROM 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 base AS build
ARG TARGETPLATFORM
ARG VERSION=unknown
Expand Down

0 comments on commit 863cf47

Please sign in to comment.