Skip to content

golangci/golangci-lint-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

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golangci-lint-action

docker image

Action that runs golangci-lint and reports issues from linters.

You can put .github/workflows/lint.yml with following contents:

name: golangci
on: [push]
jobs:
  golangci:
    name: lint
    runs-on: ubuntu-latest
    steps:
      - name: Check out code into the Go module directory
        uses: actions/checkout@v1
      - name: golangci-lint
        uses: golangci/golangci-lint-action@v0.0.2
        with:
          github_token: ${{ secrets.github_token }}

Based on reviewdog action.