[librsvg: 1/2] Use --workspace with cargo check and cargo clippy
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/2] Use --workspace with cargo check and cargo clippy
- Date: Thu, 8 Oct 2020 16:49:55 +0000 (UTC)
commit dd42f92f8bc111baa0deca6d3b9ed4cfaf6b71f0
Author: Sven Neumann <sven svenfoo org>
Date: Thu Oct 8 17:29:52 2020 +0200
Use --workspace with cargo check and cargo clippy
The --all option is a deprecated alias for --workspace.
.gitlab-ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d7f2e3f9..c00734b5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,7 +67,7 @@ check:
- .recreate_cache
needs: []
script:
- - sudo -E cargo check
+ - sudo -E cargo check --workspace
fmt:
stage: lint
@@ -86,7 +86,7 @@ clippy:
artifacts: false
script:
- cargo clippy --version
- - sudo CARGO_HOME=$CARGO_HOME cargo clippy --all
+ - sudo CARGO_HOME=$CARGO_HOME cargo clippy --workspace
cargo_test:
stage: unit test
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]