summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Müller <neikos@neikos.email>2023-01-04 11:24:36 +0100
committerMarcel Müller <neikos@neikos.email>2023-01-04 11:24:36 +0100
commitb00ba879e446b9976a48eb06c265d8d4ae2ce70e (patch)
treeb8c496e4f3d295a3db47ab14ab111d83014117d7
parent66fefd042b47ae95983af5f399a3074c49f5e9cb (diff)
Make bors check from garnix instead of GH Actions
Signed-off-by: Marcel Müller <neikos@neikos.email>
-rw-r--r--.github/workflows/check.yml13
-rw-r--r--bors.toml18
2 files changed, 17 insertions, 14 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index f918324..197443c 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -10,19 +10,6 @@ env:
CARGO_TERM_COLOR: always
jobs:
- checks:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3.2.0
- - uses: cachix/install-nix-action@v18
- with:
- nix_path: nixpkgs=channel:nixos-unstable
- - uses: cachix/cachix-action@v12
- with:
- name: cloudmqtt
- # If you chose API tokens for write access OR if you have a private cache
- authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- - run: nix --extra-experimental-features "nix-command flakes" flake check
license:
runs-on: ubuntu-latest
steps:
diff --git a/bors.toml b/bors.toml
index 852ec51..d599409 100644
--- a/bors.toml
+++ b/bors.toml
@@ -1,3 +1,19 @@
-status = ["checks", "license"]
+status = [
+ # Github Actions
+ "checks",
+ "license",
+ # Garnix
+ "Evaluate flake.nix",
+ "check cloudmqtt [x86_64-linux]",
+ "check cloudmqtt-clippy [x86_64-linux]",
+ "check cloudmqtt-fmt [x86_64-linux]",
+ "package cloudmqtt [x86_64-linux]",
+]
+pr_status = [
+ # Github Actions
+ "license",
+ "dco-check",
+ "fixup-check",
+]
update_base_for_deletes = true
cut_body_after = "<details>"