[librsvg: 3/4] Unconditionally run "cargo fmt" on the CI



commit ca8083031bc26a0126cb4fe67881959f9af08f05
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Feb 6 16:42:16 2020 -0600

    Unconditionally run "cargo fmt" on the CI
    
    Now that rustfmt is stable, we shouldn't get so many changes each time
    it updates.

 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0da74cb7..6ffc5910 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,6 @@ variables:
   RUSTC_1_27:                "registry.gitlab.gnome.org/gnome/librsvg-oci-images/rustc:1.27"
   RUSTC_1_28:                "registry.gitlab.gnome.org/gnome/librsvg-oci-images/rustc:1.28"
 
-  RUSTFMT_NIGHTLY:           "registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:nightly"
   CLIPPY_NIGHTLY:            "registry.gitlab.gnome.org/gnome/librsvg-oci-images/clippy:nightly"
 
 stages:
@@ -157,13 +156,12 @@ debian_i386:testing:
 # Configure and run rustfmt on nightly
 # Exits and builds fails on bad format
 rustfmt:
-  image: $RUSTFMT_NIGHTLY
+  image: $AMD64_OPENSUSE_TUMBLEWEED
   stage: lint
   script:
     - rustc --version && cargo --version
     - cargo fmt --version
     - cargo fmt --all -- --check
-  when: manual
 
 # Configure and run clippy on nightly
 # Only fails on errors atm.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]