FeDirect/.forgejo/workflows/ci.yaml

25 lines
562 B
YAML
Raw Permalink Normal View History

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 22:26:07 +01:00
container:
image: rust
2025-02-03 21:56:13 +01:00
steps:
- name: Update package repos
run: apt update
- name: Install Node using apt
run: apt install nodejs -y
2025-02-03 21:56:13 +01:00
- name: Checkout repo
uses: actions/checkout@v4
2025-02-04 00:11:32 +01:00
- name: Setup Deno
uses: https://github.com/denoland/setup-deno@v2
with:
deno-version: v2.x
2025-02-03 21:56:13 +01:00
- name: Build using Cargo
run: cargo build --verbose
2025-02-03 21:56:13 +01:00
- name: Run unit tests
run: cargo test --verbose