[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: Fri, 6 Nov 2020 22:41:41 +0000 (UTC)
commit 2b46bf89ed0e64382dd686eb73125b5e7039d91e
Author: Alexandre Franke <afranke gnome org>
Date: Fri Nov 6 23:41:36 2020 +0100
ci: run clippy
.gitlab-ci.yml | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7b6098a1..86c88cee 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,16 @@ check:
- cargo --version
- cargo fmt --all -- --check
+clippy:
+ image: "registry.gitlab.com/gnome/gnome-runtime-images/rust_bundle:master"
+ stage: "lint"
+ needs:
+ - job: check
+ script:
+ - 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]