diff options
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 |
