File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 uses : golangci/golangci-lint-action@v9
5454 with :
5555 version : v2.1.6
56+
57+ required :
58+ runs-on : ubuntu-latest
59+ needs : [test, lint]
60+ if : always()
61+ steps :
62+ - name : Check required jobs
63+ run : |
64+ if [[ "${{ needs.test.result }}" != "success" || "${{ needs.lint.result }}" != "success" ]]; then
65+ echo "Required jobs failed"
66+ echo "test: ${{ needs.test.result }}"
67+ echo "lint: ${{ needs.lint.result }}"
68+ exit 1
69+ fi
70+
Original file line number Diff line number Diff line change 4444
4545 - name : Run integration tests
4646 run : go test -tags=integration -v -timeout=8m ./...
47+
48+ required :
49+ runs-on : ubuntu-latest
50+ needs : [integration-test]
51+ if : always()
52+ steps :
53+ - name : Check required jobs
54+ run : |
55+ if [[ "${{ needs.integration-test.result }}" != "success" ]]; then
56+ echo "Required jobs failed"
57+ echo "integration-test: ${{ needs.integration-test.result }}"
58+ exit 1
59+ fi
60+
You can’t perform that action at this time.
0 commit comments