From 5843038a0812cc133c1895b7410aeda7153e8708 Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sat, 21 Mar 2020 13:39:32 +0800 Subject: workflows: enable golangci-lint (#5998) * Create golint.yml * Update golint.yml * Update golint.yml * Fix errcheck * Fix gosimple * Fix staticcheck --- .github/workflows/golint.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/golint.yml (limited to '.github/workflows') diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml new file mode 100644 index 00000000..3c8066a3 --- /dev/null +++ b/.github/workflows/golint.yml @@ -0,0 +1,9 @@ +name: golint +on: [pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run golangci-lint + uses: actions-contrib/golangci-lint@v1 -- cgit v1.2.3