Skip to content

Move to Nix

Move to Nix #98

Workflow file for this run

---
name: CI
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
jobs:
formatting-and-quality:
name: Formatting and Quality
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- name: Format
run: nix build -L .#fmt
- name: Clippy
run: nix build -L .#clippy
- name: cargo-deny
run: nix develop --command "cargo-deny"
- name: Test
run: nix build -L .#test
build:
name: Build
needs:
- formatting-and-quality
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- name: Build
run: nix build -L