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