fix #104
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nix Flake actions | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- feat/* | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: "write" | |
contents: "read" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: DeterminateSystems/flake-checker-action@main | |
- name: Build default package | |
run: nix build . | |
- name: Check flakes | |
run: nix flake check | |
- name: Build migrations | |
run: nix build .#ls-ap-migration | |