forked from grafana/loki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
faillint needs an update for Go 1.19 where it fails unexpectedly. First observed in grafana#7826. See fatih/faillint#36
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,10 +45,10 @@ RUN curl -L https://github.com/drone/drone-cli/releases/download/v1.4.0/drone_li | |
# Install faillint used to lint go imports in CI. | ||
# This collisions with the version of go tools used in the base image, thus we install it in its own image and copy it over. | ||
# Error: | ||
# github.com/fatih/[email protected] requires golang.org/x/[email protected] | ||
# github.com/fatih/[email protected] requires golang.org/x/[email protected] | ||
# (not golang.org/x/[email protected] from golang.org/x/tools/cmd/goyacc@58d531046acdc757f177387bc1725bfa79895d69) | ||
FROM golang:1.19.2 as faillint | ||
RUN GO111MODULE=on go install github.com/fatih/faillint@v1.10.0 | ||
RUN GO111MODULE=on go install github.com/fatih/faillint@v1.11.0 | ||
|
||
FROM golang:1.19.2 as delve | ||
RUN GO111MODULE=on go install github.com/go-delve/delve/cmd/dlv@latest | ||
|