ci: refactor nix app to be in line with the GH action #30
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-related checks" | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
nix-flake-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: "Run nix flake check" | |
run: nix flake check |