From 0b0c58365ef152710455e627b2b63f61e567850f Mon Sep 17 00:00:00 2001 From: shockerli Date: Tue, 9 Mar 2021 10:41:17 +0800 Subject: [PATCH] add reviewdog --- .github/workflows/reviewdog.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/reviewdog.yml diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml new file mode 100644 index 0000000..073fcc8 --- /dev/null +++ b/.github/workflows/reviewdog.yml @@ -0,0 +1,11 @@ +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@v1 + - name: golangci-lint + uses: reviewdog/action-golangci-lint@v1