From b1535576b2fd08183c5f465d98c077498a900395 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 9 Jan 2021 17:18:51 -0800 Subject: 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. --- ci/gitlab-ci.yml | 8 ++++---- 1 file 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 -- cgit v1.2.3