From 213fa72581998650cc8a256257ea9aabd9550330 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Mon, 1 Jul 2024 13:09:56 -0700 Subject: [PATCH] Add nix run CI test --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 38a1650..c02dce3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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