-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(nix): check develop on linux and mac
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
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" |