Official GitHub Action for golangci-lint from its authors
Find a file
2020-05-03 16:06:24 +03:00
.github/workflows use golangci-lint v1.26 2020-05-03 16:06:24 +03:00
sample add sample 2020-04-26 03:52:07 +03:00
action.yml action: make github token optional 2020-04-26 19:41:24 +03:00
Dockerfile use golangci-lint v1.26 2020-05-03 16:06:24 +03:00
entrypoint.sh entrypoint: fix input args 2020-04-26 04:50:20 +03:00
LICENSE add draft action 2020-04-26 00:39:46 +03:00
README.md all: remove github token from readme 2020-04-26 19:51:36 +03:00

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

Based on reviewdog action.