Skip to content

ci: add build workflow #1

ci: add build workflow

ci: add build workflow #1

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check Flake
run: nix flake check
- name: Build Node Tool
run: nix develop --command cargo build --profile release
- name: Build Flake
run: nix build