diff options
| author | Ryo Nihei <nihei.dev@gmail.com> | 2021-12-15 21:17:48 +0900 |
|---|---|---|
| committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-12-15 22:35:54 +0900 |
| commit | fc349551e39d4b1203a3743a76ac953686d49e07 (patch) | |
| tree | 19507233ddad5ef6ef5b7c1c8f178c0fb6dfc10a /.github | |
| parent | Update CHANGELOG (diff) | |
| download | tre-fc349551e39d4b1203a3743a76ac953686d49e07.tar.gz tre-fc349551e39d4b1203a3743a76ac953686d49e07.tar.xz | |
Use golangci-lint
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yaml (renamed from .github/workflows/test.yml) | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/ci.yaml index 47bc688..fc0b475 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: Test +name: ci on: push: @@ -8,7 +8,7 @@ on: jobs: - build: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -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 |
