Skip to content

lukasschwab/golangci-lint-custom-plugins-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

golangci-lint-custom-plugins-action

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.

Usage

For simplest usage with the action defaults:

  1. Define your custom golangci-lint configuration as .custom-gcl.yml in your repository root.
  2. Do not specify a name/location in .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

About

Unofficial alternative to `golangci-lint-action` for use with custom module plugins

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors