Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 485 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 485 Bytes

Go linter for projects

This action uses golangci-lint to check if code conforms with the rules that are specified in .golangci.yml file hosted in repository

Inputs

None.

Usage

steps:
  - name: Check out code
    uses: actions/checkout@v2
  - name: go-lint
    uses: docker://ghcr.io/haproxytech/go-linter:TAG

Development phase

action can be simulated locally with

golangci-lint run --enable-all