aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2021-01-09 17:18:51 -0800
committerDaniel Mueller <deso@posteo.net>2021-01-09 17:18:51 -0800
commitb1535576b2fd08183c5f465d98c077498a900395 (patch)
treef56d49882f874e5a051dd3a629e2340e4cc65305 /ci
parentf6353234e6037ad294d5da9c16a23881dac5933e (diff)
downloadnitrocli-b1535576b2fd08183c5f465d98c077498a900395.tar.gz
nitrocli-b1535576b2fd08183c5f465d98c077498a900395.tar.bz2
Remove usage of --all argument from CI cargo invocations
The --all argument to cargo build/test is deprecated and confusing. It also only applied to workspaces, which we don't have in this crate. Hence, with this change we remove it.
Diffstat (limited to 'ci')
-rw-r--r--ci/gitlab-ci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/gitlab-ci.yml b/ci/gitlab-ci.yml
index 0a40cc7..e1e119c 100644
--- a/ci/gitlab-ci.yml
+++ b/ci/gitlab-ci.yml
@@ -1,4 +1,4 @@
-# Copyright (C) 2020 The Nitrocli Developers
+# Copyright (C) 2020-2021 The Nitrocli Developers
# SPDX-License-Identifier: CC0-1.0
# The documentation for the contents of this file can be found at:
@@ -15,8 +15,8 @@ build-test:cargo:
- apt-get update
- apt-get install --assume-yes libudev-dev libhidapi-dev
- rustc --version && cargo --version
- - cargo build --all --verbose
- - cargo test --all --verbose
+ - cargo build --bins --tests --verbose
+ - cargo test --verbose
lint:clippy:
script:
@@ -33,4 +33,4 @@ lint:reuse:
format:rustfmt:
script:
- rustup component add rustfmt
- - cargo fmt --all -- --check
+ - cargo fmt -- --check