mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +01:00
Make ci-pass
job actually fail when some required job failed
This commit is contained in:
parent
9b593ddb54
commit
0c68c78626
1 changed files with 5 additions and 1 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -35,6 +35,7 @@ jobs:
|
|||
ci-pass:
|
||||
name: CI succeeded
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
|
||||
needs:
|
||||
- fmt
|
||||
|
@ -44,7 +45,10 @@ jobs:
|
|||
- doc
|
||||
|
||||
steps:
|
||||
- run: exit 0
|
||||
- name: Check whether the needed jobs succeeded or failed
|
||||
uses: re-actors/alls-green@release/v1
|
||||
with:
|
||||
jobs: ${{ toJSON(needs) }}
|
||||
|
||||
fmt:
|
||||
name: fmt
|
||||
|
|
Loading…
Reference in a new issue