From 6416cd5fd9f1c651e9141864521f66ee5cec60f0 Mon Sep 17 00:00:00 2001 From: theBreadCompany Date: Fri, 24 Jan 2025 23:18:33 +0100 Subject: [PATCH] fix pipeline --- .forgejo/workflows/pipeline.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/pipeline.yml b/.forgejo/workflows/pipeline.yml index d94d5a2..7818d18 100644 --- a/.forgejo/workflows/pipeline.yml +++ b/.forgejo/workflows/pipeline.yml @@ -11,8 +11,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Rust (if needed) - uses: dtolnay/rust-toolchain@stable + - name: Set up Rust + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + PATH=$HOME/.cargo/bin:$PATH + rustup toolchain install stable + rustc --version + cargo --version + - name: Run the program run: cargo run --release --bin datafetcher