Merge pull request #9 from tao3k/update_flake_lock_action #134
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: "CI" | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
nix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Run Flake Show | |
run: nix -Lv flake show --override-input namaka github:nix-community/namaka | |
- name: Run Eval check | |
run: nix -Lv eval ./local#checks --override-input namaka github:nix-community/namaka --refresh | |
- name: Run Format Check | |
run: nix develop ./local --command treefmt -- . --fail-on-change --no-cache |