ci(nix): check develop on linux and mac #1
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 | |
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" |