drone-plugin-golangci-lint/README.md

26 lines
562 B
Markdown
Raw Permalink Normal View History

2022-05-12 02:14:39 +00:00
# drone-plugin-golangci-lint
Drone plugin for golangci-lint.
## Usage
The following snippet should be applied to the `.drone.yml` file:
```
kind: pipeline
2022-05-12 02:33:36 +00:00
name: golangci-lint
2022-05-12 02:14:39 +00:00
steps:
- name: golangci-lint
image: rancher/drone-golangci-lint:latest
```
By default, this plugin will execute the `run` command per other CI documentation for golangci-lint.
## Reference
- [Drone Documentation: Example Bash Plugin](https://docs.drone.io/plugins/tutorials/bash)
- [golangci-lint CI Installation: Other CI](https://golangci-lint.run/usage/install/#other-ci)