build only when lint & tests succeeded, start lint and test parallel

This commit is contained in:
Hans Pagel 2020-10-01 11:46:39 +02:00
parent 7b216b8851
commit a3acc980ad

View File

@ -54,8 +54,6 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: lint
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
@ -107,7 +105,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: [lint, test]
env: env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}