File tree Expand file tree Collapse file tree 2 files changed +15
-21
lines changed Expand file tree Collapse file tree 2 files changed +15
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1010 workflow_dispatch :
1111
1212jobs :
13+ lint :
14+ name : lint
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Check out code into the Go module directory
18+ uses : actions/checkout@v2
19+ with :
20+ fetch-depth : 0
21+ - name : golangci-lint
22+ uses : golangci/golangci-lint-action@v2
23+ with :
24+ version : latest
25+ only-new-issues : true
26+
1327 tests :
1428 name : Build & Test
1529 runs-on : ubuntu-latest
4256 notify-on-failure :
4357 name : Slack notify on failure
4458 if : ${{ failure() && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
45- needs : [ tests ]
59+ needs : [ lint, tests ]
4660 runs-on : ubuntu-latest
4761 steps :
4862 - uses : rtCamp/action-slack-notify@v2
You can’t perform that action at this time.
0 commit comments