Skip to content

Commit

Permalink
fix: switch from deprecated magic-nix-cache to flakehub (#25)
Browse files Browse the repository at this point in the history
* fix: switch from deprecated magic-nix-cache to flakehub

* fix: specify bash interpreter for scripts

* fix: specify bash interpreter in install.sh
  • Loading branch information
quantum9Innovation authored Feb 14, 2025
1 parent 9b6cc2f commit 6e37cb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup CI binary cache
uses: DeterminateSystems/magic-nix-cache-action@main
uses: DeterminateSystems/flakehub-cache-action@main
- name: Perform health checks on flake.nix
uses: DeterminateSystems/flake-checker-action@main
- name: Launch Nix development environment and run basic tests
run: nix develop -i --accept-flake-config --keep HOME --command bash -c "chmod +x *.sh; ./install.sh; . source.sh; ./hash.sh;"
run: nix develop -i --accept-flake-config --keep HOME --command bash -c "chmod +x *.sh; bash ./install.sh; bash ./source.sh; bash ./hash.sh;"
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# Dependencies will intentionally not be updated to ensure reproducibility.

chmod +x *.sh
./pull.sh
./build.sh
bash ./pull.sh
bash ./build.sh

0 comments on commit 6e37cb3

Please sign in to comment.