Skip to content

Merge pull request #198 from pbogdan/update_flake_lock_action #325

Merge pull request #198 from pbogdan/update_flake_lock_action

Merge pull request #198 from pbogdan/update_flake_lock_action #325

Workflow file for this run

name: "Build"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
with:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20210126_f15f0b8/install
- name: Enable nix-command feature
run: echo "experimental-features = nix-command" | sudo tee -a /etc/nix/nix.conf
- uses: cachix/cachix-action@v10
with:
name: pbogdan
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Nix Stable build
run: nix-build
- name: Enable flake support
run: echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
- name: Nix Flakes build
run: nix build