Skip to content

Commit

Permalink
ci(nix): check develop on linux and mac
Browse files Browse the repository at this point in the history
  • Loading branch information
snormore committed Jun 9, 2024
1 parent 98449cc commit c8949ff
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Nix

on:
workflow_dispatch:
push:
paths:
- flake.nix
- .github/workflows/nix.yml

jobs:
develop:
name: Develop (${{ matrix.name }})
strategy:
matrix:
include:
- name: Linux
runner: ubuntu-latest
- name: MacOS
runner: macos-latest
fail-fast: false
runs-on: ${{ matrix.runner }}
steps:
- name: Install nix
uses: cachix/install-nix-action@v27

- name: Checkout
uses: actions/checkout@v4

- name: Nix develop
run: nix develop --accept-flake-config --command echo "Nix environment setup successfully"

0 comments on commit c8949ff

Please sign in to comment.