FeDirect/.forgejo/workflows/ci.yaml
kio aa3e1ab526
Some checks failed
Build & Test / build-run (push) Failing after 1s
Change explicit install of Rust/Cargo to rustup
2025-02-03 22:21:31 +00:00

22 lines
519 B
YAML

name: Build & Test
on: [push]
jobs:
build-run:
runs-on: docker
container:
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
- name: Checkout repo
uses: actions/checkout@v4
with:
deno-version: v2.x
- name: Build using Cargo
run: cargo build --verbose
- name: Run unit tests
run: cargo test --verbose