aboutsummaryrefslogtreecommitdiff
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
commit2f693125799a05114da0b0a88333529a7a24647f (patch)
tree1146e90a77963cf030ff946700efce8da0e6ad7a
parentf1265b72fa1f1a91785fd2e3db1d667037ed8678 (diff)
downloadnitrocli-2f693125799a05114da0b0a88333529a7a24647f.tar.gz
nitrocli-2f693125799a05114da0b0a88333529a7a24647f.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.
-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