golangci-lint-custom
ActionsAbout
v0.0.1
LatestBy lukasschwab
Tags
(1)Unofficial alternative to golangci-lint-action for use with custom module plugins. A request to add mainline support for the module plugin system is tracked as golangci/golangci-lint-action#1076.
Warning
This action does not support the complete set of inputs/features supported by golangci-lint-action. If you want to bring it closer to parity, contributions are welcome.
For simplest usage with the action defaults:
- Define your custom
golangci-lintconfiguration as.custom-gcl.ymlin your repository root. - Do not specify a
name/locationin.custom-gcl.yml.
Example GitHub Workflow definition...
name: Go
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
golangci-lint-custom:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Lint
uses: lukasschwab/golangci-lint-custom-plugins-action@v0.0.1
golangci-lint-custom is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.