Skip to content

Setup regtest in pipeline #64

Setup regtest in pipeline

Setup regtest in pipeline #64

Workflow file for this run

name: Server CI
on:
pull_request:
paths:
- "server/**"
- "scripts/**"
- "Cargo.toml"
- "Cargo.lock"
- ".github/workflows/server.yml"
jobs:
build_and_test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: ✨ Check formatting
run: nix develop .#server --command bash -c "cargo fmt --check"
- name: 🧪 Run tests
run: nix develop .#server --command bash -c "cargo test"
- name: 🔨 Build
run: nix develop .#server --command bash -c "cargo build --release"