Skip to content

Commit 462163b

Browse files
authored
docs: add Buildkite to CI examples (#6245)
1 parent 7d53213 commit 462163b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/content/docs/welcome/install.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ include:
4242
4343
Note that you [can only reference components in the same GitLab instance as your project](https://docs.gitlab.com/ci/components/#use-a-component)
4444
45+
### Buildkite
46+
47+
Buildkite offers a [plugin](https://buildkite.com/resources/plugins/buildkite-plugins/golangci-lint-buildkite-plugin/) for running golangci-lint in Buildkite pipelines.
48+
49+
It utilizes the official [Docker image](https://hub.docker.com/r/golangci/golangci-lint) by default, but can be set to use a binary if available on the agent.
50+
51+
The plugin will annotate builds with results, providing an easily readable summary of fixes.
52+
53+
```yaml {filename=".pipeline.yml"}
54+
plugins:
55+
- golangci-lint#v1.0.0:
56+
config: .golangci.yml
57+
```
58+
4559
### Other CI
4660
4761
Here is the other way to install golangci-lint:

0 commit comments

Comments
 (0)