summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Müller <neikos@neikos.email>2022-07-05 15:11:25 +0200
committerGitHub <noreply@github.com>2022-07-05 15:11:25 +0200
commitf6374f71aadfa8abc8b78c37dcde4f67c17883a1 (patch)
treefb47cc59534d92489636af1430b53db76c473423
parentaed51365fac446d118f68579fd1b05bc8d9a975f (diff)
parent52fef56034864a5a41c87242d331fe62dfb18f7f (diff)
Merge pull request #1 from TheNeikos/feature/add_ci
Add ci
-rw-r--r--.github/workflows/check.yml18
-rw-r--r--Cargo.toml4
2 files changed, 18 insertions, 4 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000..75c0a4f
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,18 @@
+name: "Check CloudMQTT"
+on:
+ pull_request:
+ push:
+jobs:
+ checks:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2.4.0
+ - uses: cachix/install-nix-action@v16
+ with:
+ nix_path: nixpkgs=channel:nixos-unstable
+ - uses: cachix/cachix-action@v10
+ 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
diff --git a/Cargo.toml b/Cargo.toml
index ef490cd..b364df0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,14 +19,11 @@ bin = [
"tokio/rt-multi-thread",
"tokio/macros",
"tracing-subscriber",
- "tui",
- "crossterm",
]
[dependencies]
bytes = "1.1.0"
clap = { version = "3.2.6", optional = true, features = ["derive"] }
-crossterm = { version = "0.24.0", optional = true }
dashmap = "5.3.4"
futures = "0.3.21"
mqtt-format = { version = "0.1.0", path = "mqtt-format" }
@@ -48,7 +45,6 @@ tracing = "0.1.35"
tracing-subscriber = { version = "0.3.14", optional = true, features = [
"env-filter",
] }
-tui = { version = "0.18.0", optional = true }
[dev-dependencies]
static_assertions = "1.1.0"