[fractal/clippy-ci] ci: run clippy
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/clippy-ci] ci: run clippy
- Date: Sat, 7 Nov 2020 10:14:55 +0000 (UTC)
commit d21173979ba8d1b5e614faddca727438e43ab91a
Author: Alexandre Franke <afranke gnome org>
Date: Fri Nov 6 23:41:36 2020 +0100
ci: run clippy
.gitlab-ci.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7b6098a1..b40ca37e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_
stages:
- check
+ - lint
- test
- deploy
@@ -32,6 +33,17 @@ check:
- cargo --version
- cargo fmt --all -- --check
+clippy:
+ image: "rust:slim"
+ stage: "lint"
+ needs:
+ - job: check
+ script:
+ - rustup component add clippy
+ - cargo clippy --version
+ - cargo clippy
+
+
flatpak:
extends: '.flatpak'
image: "$FLATPAK_IMAGE"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]