Skip to content

Commit

Permalink
fix: readd cachix to nix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlwn123 committed Oct 10, 2024
1 parent e7e88a0 commit 1d10b15
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/actions/setup-nix/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Setup Nix
description: Sets up nix for running tests with devimint

inputs:
cachix_auth_token:
description: 'Cachix authentication token'
required: true

runs:
using: 'composite'
steps:
Expand All @@ -12,12 +17,12 @@ runs:
connect-timeout = 15
stalled-download-timeout = 15
# - name: Setup Cachix
# uses: cachix/cachix-action@v15
# with:
# name: fedimint
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# continue-on-error: true
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: fedimint
authToken: ${{ inputs.cachix_auth_token }}
continue-on-error: true

- name: Run nix develop
run: nix develop
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:

- name: Setup Nix
uses: ./.github/actions/setup-nix
with:
cachix_auth_token: ${{ secrets.CACHIX_AUTH_TOKEN }}

- name: Setup Playwright
run: pnpm exec playwright install
Expand Down

0 comments on commit 1d10b15

Please sign in to comment.