[librsvg: 1/2] ci: Adjust gitlab-clippy invocation
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/2] ci: Adjust gitlab-clippy invocation
- Date: Fri, 6 Nov 2020 07:38:24 +0000 (UTC)
commit bfa6d75fe86c8628ec2383d37bbd3cff63126d86
Author: Sven Neumann <sven svenfoo org>
Date: Fri Nov 6 07:54:31 2020 +0100
ci: Adjust gitlab-clippy invocation
The gitlab-clippy command-line tool behavior changed with the new
version, adjust the way we call it.
Also remove the obsolete --workspace argument for cargo.
.gitlab-ci.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8dffaf62..27131ebd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,7 +62,7 @@ check:
extends: '.cache_push'
needs: []
script:
- - sudo -E cargo check --workspace
+ - sudo -E cargo check
fmt:
stage: lint
@@ -78,10 +78,10 @@ clippy:
- job: check
script:
- cargo clippy --version
- - sudo -E cargo clippy --workspace
+ - gitlab-clippy --version
+ - sudo -E cargo clippy
after_script:
- - sudo -E cargo clippy --workspace --message-format=json &> clippy.txt || true
- - sudo -E /opt/cargo/bin/gitlab-clippy clippy.txt
+ - sudo -E cargo clippy --message-format=json | /opt/cargo/bin/gitlab-clippy -o
gl-code-quality-report.json
artifacts:
reports:
codequality: gl-code-quality-report.json
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]