ci: check commit using ci-fairy

See https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#checking-commits

In this setup it will check for any leftover fixup!/squash! commits and
that messages don't have the 'Signed-off-by:' tag.
This commit is contained in:
Guillaume Desmottes 2020-06-11 15:17:33 +02:00
parent e85799b9d6
commit 61f76548bc

View file

@ -157,6 +157,14 @@ rustfmt:
- cargo fmt --version - cargo fmt --version
- cargo fmt -- --color=always --check - cargo fmt -- --color=always --check
check commits:
extends: .img-stable
stage: "lint"
rules:
- when: 'always'
script:
- ci-fairy check-commits --textwidth 0 --no-signed-off-by
clippy: clippy:
extends: .img-stable extends: .img-stable
stage: 'extras' stage: 'extras'