From cfae51c43f11ddce636664967a8a9217508834b9 Mon Sep 17 00:00:00 2001 From: kio Date: Mon, 3 Feb 2025 22:35:17 +0000 Subject: [PATCH] Update .forgejo/workflows/ci.yaml --- .forgejo/workflows/ci.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 65e9117..0677c1e 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -9,14 +9,16 @@ jobs: image: alpine steps: - name: Get Dependancies - run: apk add rustup deno git nodejs pkgconfig openssl openssl-dev - - name: Install Rust - run: /usr/bin/rustup-init -y + run: apk add curl gcc deno git nodejs pkgconfig openssl openssl-dev + - name: download Rustup + run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly + - name: configure new path + run: source $HOME/.cargo/env - name: Checkout repo uses: actions/checkout@v4 with: deno-version: v2.x - name: Build using Cargo - run: ~/.cargo/bin/cargo build --verbose + run: cargo build --verbose - name: Run unit tests - run: ~/.cargo/bin/cargo test --verbose + run: cargo test --verbose