File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
3
go :
4
- - ' 1.14 '
4
+ - 1.18
5
5
6
- # Unconditionally place the repo at GOPATH/src/${go_import_path} to support
7
- # forks.
8
- go_import_path : github.com/m-lab/prometheus-bigquery-exporter
9
-
10
-
11
- before_install :
12
- - go get github.com/mattn/goveralls
6
+ install :
7
+ - go get -v -t ./...
8
+ - go install github.com/mattn/goveralls@latest
13
9
14
10
script :
15
11
# Run query "unit tests".
Original file line number Diff line number Diff line change 1
- FROM golang:alpine3.15 as builder
1
+ FROM golang:1.18 as builder
2
2
ADD . /go/src/github.com/m-lab/prometheus-bigquery-exporter
3
3
WORKDIR /go/src/github.com/m-lab/prometheus-bigquery-exporter
4
- RUN apk add gcc libc-dev git
4
+ ENV CGO_ENABLED 0
5
5
RUN go vet && \
6
6
go get -t . && \
7
7
go install .
You can’t perform that action at this time.
0 commit comments