Skip to content

Commit

Permalink
ci: update Nix installation and caching
Browse files Browse the repository at this point in the history
This commit updates the CI workflow to use the latest versions of the
'install-nix-action' and 'cachix-action' from
the 'cachix' organization.
It also specifies the 'nixos-unstable' channel for Nix packages.

Replaces 'determinateSystems' actions with 'cachix' actions.
Configures 'cachix' to use the 'peerswap' cache.
  • Loading branch information
YusukeShimizu committed Sep 6, 2024
1 parent fab6f9b commit 9f58b81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ jobs:
with:
name: peerswap
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix develop --profile dev-profiile
- run: nix develop --profile dev-profiile
- run: "make test-${{matrix.test-vector}}"
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
nixConfig.extra-substituters = [
"https://peerswap.cachix.org"
];
nixConfig.extra-trusted-public-keys = [
"peerswap.cachix.org-1:YsClAEBZtmKr/gArdsevdDTYjIQumJNn3uny1VeTxCI="
];
inputs = {
# Pinning to revision f54322490f509985fa8be4ac9304f368bd8ab924
# - cln v24.02.1
Expand Down

0 comments on commit 9f58b81

Please sign in to comment.