mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
ent/circleci: drop goimports installation
Reviewed By: a8m Differential Revision: D17761242 fbshipit-source-id: 7ebf67b59eed722ac329b5ab6a152140a013c64c
This commit is contained in:
committed by
Facebook Github Bot
parent
82c70a6d35
commit
d581e01bb6
@@ -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
|
||||
|
||||
@@ -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 ./
|
||||
|
||||
Reference in New Issue
Block a user