2025-02-03 22:12:40 +01:00
|
|
|
name: Build & Test
|
2025-02-03 21:56:13 +01:00
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-run:
|
2025-02-03 21:09:59 +00:00
|
|
|
runs-on: docker
|
2025-02-03 21:56:13 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout repo
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Deno 2
|
2025-02-03 21:11:06 +00:00
|
|
|
uses: https://github.com/denoland/setup-deno@v2
|
2025-02-03 21:56:13 +01:00
|
|
|
with:
|
|
|
|
deno-version: v2.x
|
|
|
|
- name: Build using Cargo
|
|
|
|
run: cargo build --verbose
|
|
|
|
- name: Run unit tests
|
|
|
|
run: cargo test --verbose
|