mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: fix required checks (#3192)
This commit is contained in:
7
.github/workflows/bench.yml
vendored
7
.github/workflows/bench.yml
vendored
@ -67,9 +67,14 @@ jobs:
|
||||
- name: Check if benchmarks build
|
||||
run: cargo bench --all --all-features --all-targets --no-run
|
||||
|
||||
|
||||
bench-success:
|
||||
if: always()
|
||||
name: bench success
|
||||
needs: bench-check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo Success!
|
||||
- name: Decide whether the needed jobs succeeded or failed
|
||||
uses: re-actors/alls-green@release/v1
|
||||
with:
|
||||
jobs: ${{ toJSON(needs) }}
|
||||
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -53,8 +53,12 @@ jobs:
|
||||
run: RUSTDOCFLAGS="-D warnings" cargo doc --all --no-deps --all-features --document-private-items
|
||||
|
||||
lint-success:
|
||||
if: always()
|
||||
name: lint success
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, doc-lint]
|
||||
steps:
|
||||
- run: echo Success!
|
||||
- name: Decide whether the needed jobs succeeded or failed
|
||||
uses: re-actors/alls-green@release/v1
|
||||
with:
|
||||
jobs: ${{ toJSON(needs) }}
|
||||
8
.github/workflows/fuzz.yml
vendored
8
.github/workflows/fuzz.yml
vendored
@ -63,8 +63,14 @@ jobs:
|
||||
flags: fuzz-tests
|
||||
|
||||
fuzz-success:
|
||||
if: always()
|
||||
name: fuzz success
|
||||
runs-on: ubuntu-latest
|
||||
needs: all
|
||||
steps:
|
||||
- run: echo Success!
|
||||
# Note: This check is a dummy because we currently have fuzz tests disabled.
|
||||
- run: echo OK.
|
||||
#- name: Decide whether the needed jobs succeeded or failed
|
||||
# uses: re-actors/alls-green@release/v1
|
||||
# with:
|
||||
# jobs: ${{ toJSON(needs) }}
|
||||
6
.github/workflows/integration.yml
vendored
6
.github/workflows/integration.yml
vendored
@ -91,8 +91,12 @@ jobs:
|
||||
--debug.terminate
|
||||
|
||||
integration-success:
|
||||
if: always()
|
||||
name: integration success
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test, sync]
|
||||
steps:
|
||||
- run: echo Success!
|
||||
- name: Decide whether the needed jobs succeeded or failed
|
||||
uses: re-actors/alls-green@release/v1
|
||||
with:
|
||||
jobs: ${{ toJSON(needs) }}
|
||||
6
.github/workflows/unit.yml
vendored
6
.github/workflows/unit.yml
vendored
@ -95,8 +95,12 @@ jobs:
|
||||
run: cargo test --doc --all --all-features
|
||||
|
||||
unit-success:
|
||||
if: always()
|
||||
name: unit success
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test, eth-blockchain, doc-test]
|
||||
steps:
|
||||
- run: echo Success!
|
||||
- name: Decide whether the needed jobs succeeded or failed
|
||||
uses: re-actors/alls-green@release/v1
|
||||
with:
|
||||
jobs: ${{ toJSON(needs) }}
|
||||
Reference in New Issue
Block a user