Skip to content

golangci-lint-custom

Actions

About

Run golangci-lint in your Go project. Unofficial alternative to golangci-lint-action for use with custom module plugins.
v0.0.1
Latest
Star (0)

Tags

 (1)

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

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.

About

Run golangci-lint in your Go project. Unofficial alternative to golangci-lint-action for use with custom module plugins.
v0.0.1
Latest

Tags

 (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.