diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da6ec9e..82f6b02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,6 +86,10 @@ rustfmt: stage: "lint" script: - rustup component add rustfmt + # Create blank versions of our configured files + # so rustfmt does not yell about non-existent files or completely empty files + - echo -e "" >> podcasts-gtk/src/config.rs + - echo -e "" >> podcasts-gtk/src/static_resource.rs - rustc -Vv && cargo -Vv - cargo fmt --version - cargo fmt --all -- --color=always --check