diff options
author | Sven Neumann <sven@svenfoo.org> | 2020-11-06 07:54:31 +0100 |
---|---|---|
committer | Sven Neumann <sven@svenfoo.org> | 2020-11-06 08:06:13 +0100 |
commit | bfa6d75fe86c8628ec2383d37bbd3cff63126d86 (patch) | |
tree | 707c7ccaa9599991ad5c5e0cccdfef290c88e37e /.gitlab-ci.yml | |
parent | da90a31c6604f747f290e236045d8c79d1186747 (diff) | |
download | librsvg-bfa6d75fe86c8628ec2383d37bbd3cff63126d86.tar.gz |
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files 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 |