diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 934098e7..ed0968fe 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -19,6 +19,7 @@ jobs: run: | rustup update rustup component add rustfmt + cargo fmt --version cargo fmt --check test-stable: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 367cc4b7..35a7e5ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,6 +60,7 @@ rustfmt: stage: lint script: - rustup component add rustfmt + - cargo fmt --version - cargo fmt --check extends: - .stable