Skip to content

Commit

Permalink
ci: add magic-nix-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh authored and phlmn committed Jan 10, 2025
1 parent 9185d78 commit eb1b290
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Initialize nix environment
- name: build frontend
run: nix build .#frontend

- name: create frontend archive
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Wait for nix daemon to start
if: runner.os == 'macOS'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Wait for nix daemon to start
if: runner.os == 'macOS'
Expand Down

0 comments on commit eb1b290

Please sign in to comment.