Compare commits

..

2 commits

Author SHA1 Message Date
7a39fbd418 Re-add setup deno (oops)
All checks were successful
Build & Test / build-run (push) Successful in 41s
2025-02-04 00:11:32 +01:00
8850e08f5d Try using the rust image again
Some checks failed
Build & Test / build-run (push) Failing after 23s
Manually install node this time
2025-02-04 00:08:38 +01:00

View file

@ -6,15 +6,19 @@ 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: Setup Deno
uses: https://github.com/denoland/setup-deno@v2
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