We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b58eb6 commit 26480b2Copy full SHA for 26480b2
docs/src/docs/usage/install/index.mdx
@@ -75,6 +75,16 @@ sudo port install golangci-lint
75
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:{.LatestVersion} golangci-lint run -v
76
```
77
78
+Preserving cache between consecutive runs:
79
+```sh
80
+docker run --rm -v $(pwd):/app -v ~/.cache/golangci-lint/{.LatestVersion}:/root/.cache -w /app golangci/golangci-lint:{.LatestVersion} golangci-lint run -v
81
+```
82
+
83
+Colored output:
84
85
+docker run -t --rm -v $(pwd):/app -w /app golangci/golangci-lint:{.LatestVersion} golangci-lint run -v
86
87
88
### Linux and Windows
89
90
```sh
0 commit comments