From 8850e08f5d0eddc64be3f461c94477ec258be85f Mon Sep 17 00:00:00 2001 From: CenTdemeern1 Date: Tue, 4 Feb 2025 00:08:38 +0100 Subject: [PATCH] Try using the rust image again Manually install node this time --- .forgejo/workflows/ci.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 224a55f..ead2a2c 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -6,15 +6,15 @@ jobs: build-run: runs-on: docker container: - image: alpine + image: rust steps: - - name: Get Dependancies - run: apk add --no-cache musl-dev curl gcc deno git nodejs pkgconfig openssl openssl-dev openssl-libs-static - - name: download Rustup - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly + - name: Update package repos + run: apt update + - name: Install Node using apt + run: apt install nodejs -y - name: Checkout repo uses: actions/checkout@v4 - 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