From 3ef031b2fe974e5b70db460321705a9d9e4ffb61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 3 Nov 2020 18:25:12 +0100 Subject: [PATCH 1/3] Update the CI to work on push and PRs --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 56d7d5ee1..fbb4533f6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,10 @@ +name: Continuous integration + on: push: - branches: - - staging - - trying - -name: Continuous integration + branches: [ master ] + pull_request: + branches: [ master ] jobs: ci: From c059924a8fbfa1e10dff66d9536106200c957d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 3 Nov 2020 18:25:49 +0100 Subject: [PATCH 2/3] Remove the bors config at it does not work on private repositories --- bors.toml | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 bors.toml diff --git a/bors.toml b/bors.toml deleted file mode 100644 index 6a1baf1e7..000000000 --- a/bors.toml +++ /dev/null @@ -1,3 +0,0 @@ -status = ["ci (stable)"] -# 4 hours timeout -timeout-sec = 14400 From a716ec61b99f2fbfba9dfee71e144e4b758c8ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 3 Nov 2020 18:43:55 +0100 Subject: [PATCH 3/3] Remove the fmt and clippy jobs --- .github/workflows/test.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fbb4533f6..5409e47e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,12 +39,12 @@ jobs: command: bench args: --no-run - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: -- --check + # - uses: actions-rs/cargo@v1 + # with: + # command: fmt + # args: -- --check - - uses: actions-rs/cargo@v1 - with: - command: clippy - args: --all-targets -- -D warnings + # - uses: actions-rs/cargo@v1 + # with: + # command: clippy + # args: --all-targets -- -D warnings