Skip to content

Commit

Permalink
Upgrade Go 1.17 (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotirios Mantziaris authored Oct 15, 2021
1 parent 1207832 commit e71d3a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16 as builder
FROM golang:1.17 as builder

ARG GH_TOKEN

Expand All @@ -8,7 +8,7 @@ RUN git config --global url."https://$GH_TOKEN@github.com/".insteadOf "https://g
go get github.com/taxibeat/skim/cmd/skim && rm -rf /go/src/github.com/taxibeat/ && \
git config --global --remove-section url."https://$GH_TOKEN@github.com/"

FROM golang:1.16
FROM golang:1.17

COPY --from=builder /go/bin/skim /go/bin/skim

Expand Down
1 change: 1 addition & 0 deletions docker/component/component_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build component
// +build component

package component
Expand Down
1 change: 1 addition & 0 deletions magefile.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build mage
// +build mage

package main
Expand Down
2 changes: 2 additions & 0 deletions targets/test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ var (
"-mod=vendor",
"-cover",
"-race",
"-shuffle=on",
}
// CoverArgs used in coverage targets.
CoverArgs = []string{
Expand All @@ -35,6 +36,7 @@ var (
"-covermode=atomic",
"-coverprofile=coverage.txt",
"-race",
"-shuffle=on",
}
// Pkgs is the pkg pattern to target.
Pkgs = "./..."
Expand Down

0 comments on commit e71d3a3

Please sign in to comment.