diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-03-27 23:28:32 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-03-27 23:28:32 +0900 |
commit | 5212b7fb22a762e81456134418bfe482a8704434 (patch) | |
tree | 7f62016f941cf419aa0980d6a2942bbb7ab1f094 | |
parent | Add vartan-go command (diff) | |
download | urubu-5212b7fb22a762e81456134418bfe482a8704434.tar.gz urubu-5212b7fb22a762e81456134418bfe482a8704434.tar.xz |
Use golangci-lint
-rw-r--r-- | .github/workflows/test.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47bc688..5c595df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,3 +20,14 @@ jobs: - name: Test run: go test -v ./... + + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: golangci-lint + uses: golangci/golangci-lint-action@v2 + with: + version: latest + args: -E gofmt |