diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7065fd6..75102aa 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,7 +6,18 @@ on: branches: [ main ] jobs: - + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Go-linter + # You may pin to the exact commit or the version. + # uses: Jerome1337/golint-action@c5d17206a0a436bbf1edb91e314ed084f7c57589 + uses: https://github.com/Jerome1337/golint-action@v1.0.2 + #with: + # Path used by golint command + # golint-path: # optional, default is ./... + build: runs-on: ubuntu-latest steps: @@ -30,11 +41,3 @@ jobs: run: go test -v -cover ./... - name: Build run: goreleaser build --snapshot --rm-dist - - name: Go-linter - # You may pin to the exact commit or the version. - # uses: Jerome1337/golint-action@c5d17206a0a436bbf1edb91e314ed084f7c57589 - uses: https://github.com/Jerome1337/golint-action@v1.0.2 - #with: - # Path used by golint command - # golint-path: # optional, default is ./... -