FeDirect/.forgejo/workflows/ci.yaml
kio 3244cecc6a
Some checks failed
Build & Test / build-run (push) Failing after 19s
ingest cargo env vars
2025-02-03 22:26:44 +00:00

24 lines
597 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 -y
- name: Read new PATH from cargo install
run: . ~/.cargo/env
- 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