Skip to content

Nix Flake GitHub Action badge #3

Nix Flake GitHub Action badge

Nix Flake GitHub Action badge #3

Workflow file for this run

name: "Nix Flake"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: "Check `nix develop` shell"
run: nix develop --check
- name: "Check `nix develop` shell can run command"
run: nix develop --command "echo"
- run: nix build
- run: nix flake check