summaryrefslogtreecommitdiff
path: root/.github/workflows/reviewdog.yml
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-29 08:36:14 +1000
committerGitHub <noreply@github.com>2020-03-29 08:36:14 +1000
commit0869bca23c42fae58c6ec65dd2516d6b577c8996 (patch)
tree51317923757be5b902e613f3b3ae90c5924e12b1 /.github/workflows/reviewdog.yml
parent9b159b32cb068280cab7df3217cef64a9dafc5b0 (diff)
Add Github Workflows (#5)
Diffstat (limited to '.github/workflows/reviewdog.yml')
-rw-r--r--.github/workflows/reviewdog.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
new file mode 100644
index 0000000..2ed1824
--- /dev/null
+++ b/.github/workflows/reviewdog.yml
@@ -0,0 +1,33 @@
+---
+name: ReviewDog
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+jobs:
+ golangci-lint:
+ name: runner / golangci-lint
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: reviewdog/action-golangci-lint@v1
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ misspell:
+ name: runner / misspell
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: reviewdog/action-misspell@v1
+ with:
+ github_token: ${{ secrets.GItHUB_TOKEN }}
+ shellcheck:
+ name: runner / shellcheck
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: reviewdog/action-shellcheck@v1
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ reporter: github-pr-review