Try using the rust image again
Some checks failed
Build & Test / build-run (push) Failing after 23s

Manually install node this time
This commit is contained in:
CenTdemeern1 2025-02-04 00:08:38 +01:00
parent 9a4e2b3ca5
commit 8850e08f5d

View file

@ -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