Add bors configuration (#1340)
Melded together stuff from https://github.com/sigp/lighthouse/pull/1326 and https://github.com/sigp/lighthouse/pull/1337. Note that I've reduced the timeout to 2 hours to save some time in case the build gets stuck. Co-authored-by: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
parent
20a48df80a
commit
51fbaefe41
46
.github/workflows/test-suite.yml
vendored
46
.github/workflows/test-suite.yml
vendored
@ -4,6 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- staging
|
||||||
|
- trying
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -108,27 +110,27 @@ jobs:
|
|||||||
- name: Lint code for quality and style with Clippy
|
- name: Lint code for quality and style with Clippy
|
||||||
run: make lint
|
run: make lint
|
||||||
arbitrary-check:
|
arbitrary-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: cargo-fmt
|
needs: cargo-fmt
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Validate state_processing feature arbitrary-fuzz
|
- name: Validate state_processing feature arbitrary-fuzz
|
||||||
run: make arbitrary-fuzz
|
run: make arbitrary-fuzz
|
||||||
cargo-audit:
|
cargo-audit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: cargo-fmt
|
needs: cargo-fmt
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Run cargo audit to identify known security vulnerabilities reported to the RustSec Advisory Database
|
- name: Run cargo audit to identify known security vulnerabilities reported to the RustSec Advisory Database
|
||||||
run: make audit
|
run: make audit
|
||||||
cargo-udeps:
|
cargo-udeps:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: cargo-fmt
|
needs: cargo-fmt
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Get latest version of nightly Rust
|
- name: Get latest version of nightly Rust
|
||||||
run: rustup update nightly
|
run: rustup update nightly
|
||||||
- name: Install cargo-udeps
|
- name: Install cargo-udeps
|
||||||
run: cargo install cargo-udeps --locked
|
run: cargo install cargo-udeps --locked
|
||||||
- name: Run cargo udeps to identify unused crates in the dependency graph
|
- name: Run cargo udeps to identify unused crates in the dependency graph
|
||||||
run: make udeps
|
run: make udeps
|
||||||
|
Loading…
Reference in New Issue
Block a user