File tree Expand file tree Collapse file tree 12 files changed +39
-21
lines changed Expand file tree Collapse file tree 12 files changed +39
-21
lines changed Original file line number Diff line number Diff line change 2323 - run : bash scripts/gogetcookie.sh
2424 - run : make depscheck
2525 save-artifacts-on-fail :
26- if : ${{ needs.depscheck.result }} == 'failure'
26+ needs : depscheck
27+ if : ${{ failure() }}
2728 uses : ./.github/workflows/save-artifacts.yaml
2829 comment-on-fail :
29- if : ${{ needs.depscheck.result }} == 'failure'
30+ needs : depscheck
31+ if : ${{ failure() }}
3032 uses : ./.github/workflows/comment-failure.yaml
Original file line number Diff line number Diff line change 2626 - run : bash scripts/gogetcookie.sh
2727 - run : make gencheck
2828 save-artifacts-on-fail :
29- if : ${{ needs.gencheck.result }} == 'failure'
29+ needs : gencheck
30+ if : ${{ failure() }}
3031 uses : ./.github/workflows/save-artifacts.yaml
3132 comment-on-fail :
32- if : ${{ needs.depscheck.result }} == 'failure'
33+ needs : gencheck
34+ if : ${{ failure() }}
3335 uses : ./.github/workflows/comment-failure.yaml
Original file line number Diff line number Diff line change 2424 go-version-file : ./.go-version
2525 - run : bash ./scripts/run-gradually-deprecated.sh
2626 save-artifacts-on-fail :
27- if : ${{ needs.test.result }} == 'failure'
27+ needs : test
28+ if : ${{ failure() }}
2829 uses : ./.github/workflows/save-artifacts.yaml
2930 comment-on-fail :
30- if : ${{ needs.depscheck.result }} == 'failure'
31+ needs : test
32+ if : ${{ failure() }}
3133 uses : ./.github/workflows/comment-failure.yaml
Original file line number Diff line number Diff line change 1818 - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
1919 with :
2020 # we cannot use go-version-file here because no repositories are checked out so there is no file to reference
21- go-version : ' 1.24.1 '
21+ go-version : ' 1.25.3 '
2222 - run : |
2323 go install github.com/stephybun/link-milestone@latest
2424 link-milestone
Original file line number Diff line number Diff line change 8181 run : rm -f "${RUNNER_TEMP}/client-secret"
8282 if : always()
8383 save-artifacts-on-fail :
84- if : ${{ needs.secrets-check.result }} == 'failure' || ${{ needs.provider-tests.result }} == 'failure'
84+ needs : provider-tests
85+ if : ${{ failure() }}
8586 uses : ./.github/workflows/save-artifacts.yaml
8687 comment-on-fail :
87- if : ${{ needs.depscheck.result }} == 'failure'
88+ needs : provider-tests
89+ if : ${{ failure() }}
8890 uses : ./.github/workflows/comment-failure.yaml
Original file line number Diff line number Diff line change 2828 - run : make tools
2929 - run : make tflint
3030 save-artifacts-on-fail :
31- if : ${{ needs.tflint.result }} == 'failure'
31+ needs : tflint
32+ if : ${{ failure() }}
3233 uses : ./.github/workflows/save-artifacts.yaml
3334 comment-on-fail :
34- if : ${{ needs.depscheck.result }} == 'failure'
35+ needs : tflint
36+ if : ${{ failure() }}
3537 uses : ./.github/workflows/comment-failure.yaml
Original file line number Diff line number Diff line change 2828 - run : bash scripts/gogetcookie.sh
2929 - run : GOARCH=386 GOOS=linux go build -o 32bitbuild .
3030 save-artifacts-on-fail :
31- if : ${{ needs.compatibility-32bit-test.result }} == 'failure'
31+ needs : compatibility-32bit-test
32+ if : ${{ failure() }}
3233 uses : ./.github/workflows/save-artifacts.yaml
3334 comment-on-fail :
34- if : ${{ needs.depscheck.result }} == 'failure'
35+ needs : compatibility-32bit-test
36+ if : ${{ failure() }}
3537 uses : ./.github/workflows/comment-failure.yaml
Original file line number Diff line number Diff line change 3030 env :
3131 GITHUB_ACTIONS_STAGE : " UNIT_TESTS"
3232 save-artifacts-on-fail :
33- if : ${{ needs.test.result }} == 'failure'
33+ needs : test
34+ if : ${{ failure() }}
3435 uses : ./.github/workflows/save-artifacts.yaml
3536 comment-on-fail :
36- if : ${{ needs.depscheck.result }} == 'failure'
37+ needs : test
38+ if : ${{ failure() }}
3739 uses : ./.github/workflows/comment-failure.yaml
Original file line number Diff line number Diff line change 2828 - run : make tools
2929 - run : make validate-examples
3030 save-artifacts-on-fail :
31- if : ${{ needs.website-lint.result }} == 'failure'
31+ needs : website-lint
32+ if : ${{ failure() }}
3233 uses : ./.github/workflows/save-artifacts.yaml
3334 comment-on-fail :
34- if : ${{ needs.depscheck.result }} == 'failure'
35+ needs : website-lint
36+ if : ${{ failure() }}
3537 uses : ./.github/workflows/comment-failure.yaml
Original file line number Diff line number Diff line change 2626 - run : make website-lint
2727 - run : make document-validate
2828 save-artifacts-on-fail :
29- if : ${{ needs.website-lint.result }} == 'failure'
29+ needs : website-lint
30+ if : ${{ failure() }}
3031 uses : ./.github/workflows/save-artifacts.yaml
3132 comment-on-fail :
32- if : ${{ needs.depscheck.result }} == 'failure'
33+ needs : website-lint
34+ if : ${{ failure() }}
3335 uses : ./.github/workflows/comment-failure.yaml
You can’t perform that action at this time.
0 commit comments