Skip to content

Commit

Permalink
add github action for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
h3llix committed Jul 10, 2021
1 parent 76757f6 commit 5107528
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: reviewdog
on: [pull_request]
jobs:
golangci-lint:
name: runner / golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.16"

- name: golangci-lint
uses: reviewdog/action-golangci-lint@v1

0 comments on commit 5107528

Please sign in to comment.