From b8d7a228dfbffcc8b8fe3b3e6a580506e47e5cb6 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Tue, 22 Aug 2023 18:30:51 +0200 Subject: [PATCH] CI: Fix check-try-runtime (preparation for the monorepo) Warnings should be treated as errors here, since this is how it will be done in the monorepo. I expect to see two errors in this check now. Signed-off-by: Oliver Tale-Yazdi --- scripts/ci/gitlab/pipeline/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci/gitlab/pipeline/test.yml b/scripts/ci/gitlab/pipeline/test.yml index 81d8fbf4d1d..2d84010cb74 100644 --- a/scripts/ci/gitlab/pipeline/test.yml +++ b/scripts/ci/gitlab/pipeline/test.yml @@ -65,6 +65,8 @@ cargo-check-try-runtime: extends: - .docker-env - .common-refs + variables: + RUSTFLAGS: "-D warnings" # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs needs: - job: check-runtime-benchmarks