stages: - test variables: CARGO_BUILD_JOBS: "1" IRCSERVSERV_REPO: "https://gerrit.wikimedia.org/r/wikimedia/irc/ircservserv" IRCSERVSERV_REV: "f5f4d95" test-validate: stage: test tags: - wmcs rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH image: rust:latest script: - cargo install --locked --git $IRCSERVSERV_REPO --rev $IRCSERVSERV_REV - /usr/local/cargo/bin/validate-config channels