Skip to content

Commit c3d11dc

Browse files
committed
chore: ensure job order
ensure coverage and release only run after test and lint are complete
1 parent c4f6a50 commit c3d11dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/push_main.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
golint -set_exit_status=1 ./...
5050
coverage:
5151
runs-on: ubuntu-latest
52+
needs: [test, lint]
5253
steps:
5354
- uses: actions/checkout@v2
5455
- uses: actions/setup-go@v2
@@ -70,6 +71,7 @@ jobs:
7071
verbose: true
7172
release:
7273
runs-on: ubuntu-latest
74+
needs: [test, lint]
7375
steps:
7476
- uses: actions/checkout@master
7577
- uses: go-semantic-release/action@v1

0 commit comments

Comments
 (0)