mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +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
|
- name: Check if benchmarks build
|
||||||
run: cargo bench --all --all-features --all-targets --no-run
|
run: cargo bench --all --all-features --all-targets --no-run
|
||||||
|
|
||||||
|
|
||||||
bench-success:
|
bench-success:
|
||||||
|
if: always()
|
||||||
name: bench success
|
name: bench success
|
||||||
needs: bench-check
|
needs: bench-check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
run: RUSTDOCFLAGS="-D warnings" cargo doc --all --no-deps --all-features --document-private-items
|
||||||
|
|
||||||
lint-success:
|
lint-success:
|
||||||
|
if: always()
|
||||||
name: lint success
|
name: lint success
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [lint, doc-lint]
|
needs: [lint, doc-lint]
|
||||||
steps:
|
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
|
flags: fuzz-tests
|
||||||
|
|
||||||
fuzz-success:
|
fuzz-success:
|
||||||
|
if: always()
|
||||||
name: fuzz success
|
name: fuzz success
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: all
|
needs: all
|
||||||
steps:
|
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
|
--debug.terminate
|
||||||
|
|
||||||
integration-success:
|
integration-success:
|
||||||
|
if: always()
|
||||||
name: integration success
|
name: integration success
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test, sync]
|
needs: [test, sync]
|
||||||
steps:
|
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
|
run: cargo test --doc --all --all-features
|
||||||
|
|
||||||
unit-success:
|
unit-success:
|
||||||
|
if: always()
|
||||||
name: unit success
|
name: unit success
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test, eth-blockchain, doc-test]
|
needs: [test, eth-blockchain, doc-test]
|
||||||
steps:
|
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