Skip to content

Commit

Permalink
feat: Add nix setup to testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlwn123 committed Oct 4, 2024
1 parent 42cd663 commit 06c8fe4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/actions/setup-nix/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Setup Nix
description: Sets up nix for running tests with devimint

runs:
using: 'composite'
steps:
- name: Install Nix
uses: cachix/install-nix-action@V27
with:
nix_path: nixpkgs=channel:nixos-23.11
extra_nix_config: |
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: Run nix develop
run: nix develop
3 changes: 3 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/install-deps

- name: Setup Nix
uses: ./.github/actions/setup-nix

- name: Setup Playwright
run: pnpm exec playwright install

Expand Down

0 comments on commit 06c8fe4

Please sign in to comment.