From 63c46538d89e5db998ee3812d214c141b027427f Mon Sep 17 00:00:00 2001 From: b4b4r07 Date: Tue, 25 Feb 2020 12:54:25 +0900 Subject: [PATCH] Add reviewdog workflow --- .github/workflows/reviewdog.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..99b5f02 --- /dev/null +++ b/.github/workflows/reviewdog.yml @@ -0,0 +1,19 @@ +name: reviewdog + +on: + pull_request: + paths: + - '**.go' + - '.github/workflows/reviewdog.yml' + +jobs: + golangci-lint: + name: Run golangci-lint + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Lint + uses: reviewdog/action-golangci-lint@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }}