Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec7b117

Browse files
authored
chore: add gen and test-go-race to required check (#7952)
1 parent1ec463d commitec7b117

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -565,12 +565,25 @@ jobs:
565565

566566
required:
567567
runs-on:ubuntu-latest
568-
needs:[test-go, test-go-pg, test-js]
569-
# allow this job to run even if the previous jobs are skipped
570-
if:|
571-
always() &&
572-
!contains(needs.*.result, 'failure') &&
573-
!contains(needs.*.result, 'cancelled')
568+
needs:[gen, test-go, test-go-pg, test-go-race, test-js]
569+
# Allow this job to run even if the needed jobs fail, are skipped or
570+
# cancelled.
571+
if:always()
574572
steps:
575573
-name:Ensure required checks
576-
run:echo "Required checks have passed"
574+
run:|
575+
echo "Checking required checks"
576+
echo "- gen: ${{ needs.gen.result }}"
577+
echo "- test-go: ${{ needs.test-go.result }}"
578+
echo "- test-go-pg: ${{ needs.test-go-pg.result }}"
579+
echo "- test-go-race: ${{ needs.test-go-race.result }}"
580+
echo "- test-js: ${{ needs.test-js.result }}"
581+
echo
582+
583+
# We allow skipped jobs to pass, but not failed or cancelled jobs.
584+
if [[ "${{ contains(needs.*.result, 'failure') }}" == "true" || "${{ contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
585+
echo "One of the required checks has failed or has been cancelled"
586+
exit 1
587+
fi
588+
589+
echo "Required checks have passed"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp