File tree 2 files changed +14
-10
lines changed
2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ is useful to others.
45
45
46
46
## Linting tools included
47
47
48
- | Linter | Version |
49
- | --------------------------------------------------------------------- | --------------------- |
50
- | [ ` staticcheck ` ] ( https://github.com/dominikh/go-tools ) | ` 2020.2.3 ` (` v0.1.3 ` ) |
51
- | [ ` golangci-lint ` ] ( https://github.com/golangci/golangci-lint ) | ` v1.39.0 ` |
52
- | [ ` orijtech/httperroryzer ` ] ( https://github.com/orijtech/httperroryzer ) | ` v0.0.1 ` |
53
- | [ ` orijtech/structslop ` ] ( https://github.com/orijtech/structslop ) | ` v0.0.6 ` |
54
- | [ ` pelletier/go-toml/cmd/tomll ` ] ( https://github.com/pelletier/go-toml ) | ` v1.8.1 ` |
55
- | [ ` fatih/errwrap ` ] ( https://github.com/fatih/errwrap ) | ` v1.3.1 ` |
48
+ | Linter | Version |
49
+ | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
50
+ | [ ` staticcheck ` ] ( https://github.com/dominikh/go-tools ) | ` 2020.2.3 ` (` v0.1.3 ` ) |
51
+ | [ ` golangci-lint ` ] ( https://github.com/golangci/golangci-lint ) | ` v1.39.0 ` |
52
+ | [ ` orijtech/httperroryzer ` ] ( https://github.com/orijtech/httperroryzer ) | ` v0.0.1 ` |
53
+ | [ ` orijtech/structslop ` ] ( https://github.com/orijtech/structslop ) | ` v0.0.6 ` |
54
+ | [ ` pelletier/go-toml/cmd/tomll ` ] ( https://github.com/pelletier/go-toml ) | ` v1.8.1 ` |
55
+ | [ ` fatih/errwrap ` ] ( https://github.com/fatih/errwrap ) | ` v1.3.1 ` ( [ omitted from ` oldstable ` image ] ( https://github.com/atc0005/go-ci/issues/280 ) ) |
56
56
57
57
## Docker images
58
58
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ ENV STATICCHECK_VERSION="v0.1.3"
14
14
ENV HTTPERRORYZER_VERSION="v0.0.1"
15
15
ENV STRUCTSLOP_VERSION="v0.0.6"
16
16
ENV TOMLL_VERSION="v1.8.1"
17
- ENV ERRWRAP_VERSION="v1.3.1"
17
+
18
+ # TODO: Re-enable once Go 1.17 is released and 1.16 is then the "oldstable" release
19
+ # ENV ERRWRAP_VERSION="v1.3.1"
18
20
19
21
ENV APT_BSDMAINUTILS_VERSION="11.1.2+b1"
20
22
ENV APT_TREE_VERSION="1.8.0-1"
@@ -34,9 +36,11 @@ RUN GO111MODULE="on" go get honnef.co/go/tools/cmd/staticcheck@${STATICCHECK_VER
34
36
&& GO111MODULE="on" go get github.com/orijtech/httperroryzer/cmd/httperroryzer@${HTTPERRORYZER_VERSION} \
35
37
&& GO111MODULE="on" go get github.com/orijtech/structslop/cmd/structslop@${STRUCTSLOP_VERSION} \
36
38
&& GO111MODULE="on" go get github.com/pelletier/go-toml/cmd/tomll@${TOMLL_VERSION} \
37
- && GO111MODULE="on" go get github.com/fatih/errwrap@${ERRWRAP_VERSION} \
38
39
&& go clean -cache -modcache
39
40
41
+ # TODO: Re-enable once Go 1.17 is released and 1.16 is then the "oldstable" release
42
+ # && GO111MODULE="on" go get github.com/fatih/errwrap@${ERRWRAP_VERSION} \
43
+
40
44
# Copy over linting config files to root of container to serve as a default.
41
45
# Projects bringing their own config files (e.g., via GitHub Actions) can
42
46
# easily override these files, while projects choosing to use these config
You can’t perform that action at this time.
0 commit comments