From 07dce8d657cc96df49d31dd90374248606bb2f42 Mon Sep 17 00:00:00 2001
From: Louis Capitanchik <contact@louiscap.co>
Date: Sun, 17 Nov 2024 01:12:43 +0000
Subject: [PATCH] Install nightly for all scripts

---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 560c326..1d7efa6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,9 @@ cache: &global_cache
 variables:
   CARGO_HOME: ${CI_PROJECT_DIR}/.cargo
 
+before_script:
+  - rustup toolchain install nightly
+
 lint:
   stage: test
   script:
@@ -28,7 +31,7 @@ test:
   stage: test
   script:
     - cargo install junitify
-    - cargo test -- --format=json -Z unstable-options --report-time | junitify --out $CI_PROJECT_DIR/tests/
+    - cargo +nightly test -- --format=json -Z unstable-options --report-time | junitify --out $CI_PROJECT_DIR/tests/
   artifacts:
     when: always
     reports:
-- 
GitLab