Skip to content

Commit

Permalink
Add CI job to test-drive Nix Flake
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jul 3, 2023
1 parent d7bca65 commit e3642e6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/quick-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,23 @@ jobs:
with:
command: check
args: ${{ matrix.feature-flags }}

quick_check-flake:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4

- name: Cache Nix dependencies
uses: DeterminateSystems/magic-nix-cache-action@v2

- uses: actions/checkout@v2

- name: Check flake
run: nix flake check

- name: Build flake
run: nix build

- name: Test run flake
run: nix run . -- --version

0 comments on commit e3642e6

Please sign in to comment.