Skip to content

fix: restore old GHA check #13

fix: restore old GHA check

fix: restore old GHA check #13

name: Flake Build
on:
pull_request:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
defaults:
run:
shell: bash
name: Build
runs-on: ubuntu-latest
env:
SYSTEM: x86_64-linux
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix flake check --system "$SYSTEM" -L
- run: nix build --system "$SYSTEM" -L
- run: nix develop -c sh -c 'make -j all && make check'