diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml index d7e6da6..9b35bb9 100644 --- a/.github/workflows/golint.yml +++ b/.github/workflows/golint.yml @@ -1,6 +1,6 @@ -name: CI +name: Lint -on: [push, pull_request] +on: [push] jobs: golangci: diff --git a/.github/workflows/suggester.yml b/.github/workflows/suggester.yml new file mode 100644 index 0000000..2292082 --- /dev/null +++ b/.github/workflows/suggester.yml @@ -0,0 +1,20 @@ +name: Lint + +on: [pull_request] + +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: golangci-lint + uses: golangci/golangci-lint-action@v2 + with: + version: latest + + - name: Suggester + uses: reviewdog/action-suggester@v1 + with: + tool_name: golangci-lint \ No newline at end of file