Skip to content

Commit

Permalink
Add nix run CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jul 1, 2024
1 parent c6cb452 commit 213fa72
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@ jobs:
- name: Clippy
run: nix develop -c cargo clippy

# Ensures that the
nix-run:
name: Run Nix package on ${{ matrix.systems.os }}
runs-on: ${{ matrix.systems.runner }}
strategy:
matrix:
systems:
- os: macOS
runner: macos-12
- os: Linux
runner: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- run: |
nix run
rust-tests:
name: Test Rust
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 213fa72

Please sign in to comment.