ent/circleci: drop goimports installation

Reviewed By: a8m

Differential Revision: D17761242

fbshipit-source-id: 7ebf67b59eed722ac329b5ab6a152140a013c64c
This commit is contained in:
Alex Snast
2019-10-05 10:14:20 -07:00
committed by Facebook Github Bot
parent 82c70a6d35
commit d581e01bb6
2 changed files with 2 additions and 12 deletions

View File

@@ -9,9 +9,6 @@ jobs:
- image: circleci/golang
working_directory: /go/src/github.com/facebookincubator/ent
steps:
- run: &goimports_install
name: Install goimports
command: go get -u golang.org/x/tools/cmd/goimports
- checkout
- run:
name: Dialect tests
@@ -45,7 +42,6 @@ jobs:
command: conf/gremlin-server.yaml
steps:
- checkout
- run: *goimports_install
- run:
name: Run integration tests
working_directory: entc/integration

View File

@@ -2,18 +2,12 @@
# This source code is licensed under the Apache 2.0 license found
# in the LICENSE file in the root directory of this source tree.
# Multi stage application builder
FROM golang:1.12.9-alpine
# Application base
FROM golang:1.13
# Install tools required to build the project
RUN apk add --no-cache git gcc musl-dev
# Use public go modules proxy
ENV GOPROXY https://proxy.golang.org
# Install goimports for entc.
RUN go get -u golang.org/x/tools/cmd/goimports
# Copy mod files and install dependencies.
WORKDIR /ent
COPY go.mod go.sum ./