[librsvg: 3/9] gitlab-ci: Enable rustfmt.
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 3/9] gitlab-ci: Enable rustfmt.
- Date: Thu, 1 Mar 2018 12:08:03 +0000 (UTC)
commit a496d7dd24587f926a0e075112ef9fefd992e6d0
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Wed Feb 28 13:28:21 2018 +0200
gitlab-ci: Enable rustfmt.
.gitlab-ci.yml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06c1d3b2..0a0c0dca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -161,17 +161,13 @@ debian:testing_release:
#######################################################################
# Configure and run rustfmt on nightly
-# Exits and builds fails if on bad format
+# Exits and builds fails on bad format
rustfmt:
- image: "rustlang/rust:nightly"
+ image: registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:nightly
stage: lint
- variables:
- CFG_RELEASE_CHANNEL: "nightly"
script:
- rustc --version && cargo --version
- - cargo install rustfmt-nightly --force
- cargo fmt --all -- --write-mode=diff
- when: manual
# Configure and run clippy on nightly
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]