Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2
Golangci-lint-action and Custom Linter (Plugins) Example
NotificationsYou must be signed in to change notification settings
golangci/golangci-lint-action-plugin-example
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository is an example to explain how to usecustom linters (plugins) with theGitHub Action of golangci-lint.
-name:Build and install pluginsrun:| git clone https://github.com/golangci/example-plugin-linter.git cd example-plugin-linter go build -o '${{ github.workspace }}/.plugins/example.so' -buildmode=plugin plugin/example.goworking-directory:${{ runner.temp }}env:CGO_ENABLED:1
-name:golangci-lintuses:golangci/golangci-lint-action@v7with:version:v2.1.1# The installation mode `goinstall` always uses `CGO_ENABLED=1`.install-mode:goinstall
TheWorkflow.
About
Golangci-lint-action and Custom Linter (Plugins) Example
Resources
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.