Skip to content

Merge pull request #205 from pbogdan/dependabot/github_actions/cachix… #326

Merge pull request #205 from pbogdan/dependabot/github_actions/cachix…

Merge pull request #205 from pbogdan/dependabot/github_actions/cachix… #326

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@v12
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