diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 02efb7cd5..e87848f94 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -67,9 +67,9 @@ jobs: override: true components: rustfmt - name: Run cargo fmt + # Since we never ran the `build.rs` script in the benchmark directory we are missing one auto-generated import file. + # Since we want to trigger (and fail) this action as fast as possible, instead of building the benchmark crate + # we are going to create an empty file where rustfmt expects it. run: | - # Since we never ran the `build.rs` script in the benchmark directory we are missing one auto-generated import file. - # Since we want to trigger (and fail) this action as fast as possible, instead of building the benchmark crate - # we are going to create an empty file where rustfmt expect it. echo -ne "\n" > benchmarks/benches/datasets_paths.rs cargo fmt --all -- --check diff --git a/bors.toml b/bors.toml index 3fbc6159e..b4deacf9a 100644 --- a/bors.toml +++ b/bors.toml @@ -1,5 +1,12 @@ status = [ - 'ci (stable)' + 'Tests on ubuntu-18.04 with stable', + 'Tests on ubuntu-18.04 with beta', + 'Tests on ubuntu-18.04 with nightly', + 'Tests on macos-latest with stable', + 'Tests on macos-latest with beta', + 'Tests on macos-latest with nightly', + 'Cargo check on Windows', + 'Run Rustfmt', ] # 3 hours timeout timeout-sec = 10800