Skip to content

Commit

Permalink
ci: fix validate-devshell CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gytis-ivaskevicius committed Nov 15, 2024
1 parent db81320 commit 5d6e01d
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/validate-devshell.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
name: DevShell
on:
push:

jobs:
validate-devshell:
strategy:
matrix:
system: ["x86_64-linux", "aarch64-linux", "x86_64-darwin", "aarch64-darwin"]

validate-devshell-x86_64-linux:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4.2.1
- name: 🧰 Setup Nix
uses: nixbuild/nix-quick-install-action@v28
uses: nixbuild/nix-quick-install-action@v29
- name: 🚀 Eval
run: nix eval .#devShells.${{matrix.system}}.default --apply toString
run: nix eval .#devShells.x86_64-linux.default --apply toString

validate-devshell-macos:
runs-on: macos-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4.2.1
- name: 🧰 Setup Nix
uses: nixbuild/nix-quick-install-action@v29
- name: 🚀 Eval
run: |
nix eval .#devShells.x86_64-darwin.default --apply toString
nix eval .#devShells.aarch64-darwin.default --apply toString

0 comments on commit 5d6e01d

Please sign in to comment.