Skip to content

build: add nix dev + build environment + ci builds #5

build: add nix dev + build environment + ci builds

build: add nix dev + build environment + ci builds #5

Workflow file for this run

---
name: "Nix build"
on:
pull_request:
push:
branches: [ master ]
jobs:
build:
name: ${{ matrix.attribute }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
attribute:
- .#devShells.x86_64-linux.default
- .#packages.x86_64-linux.rocks
- .#checks.x86_64-linux.pre-commit-check
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v9
- uses: cachix/cachix-action@v14
with:
name: rocks
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build "${{matrix.attribute}}"