Skip to content

Commit

Permalink
fix: pre-cache nix store
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyx committed Jul 5, 2024
1 parent 6edb881 commit 3e50ef3
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/normal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Git
- name: Setup Git & Cache Nix
run: |
./tools/ci/setup-git.sh
just nix-develop git --version
- name: Format
run: |
Expand All @@ -58,9 +59,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Git
- name: Setup Git & Cache Nix
run: |
./tools/ci/setup-git.sh
just nix-develop git --version
- name: Lint
run: |
Expand All @@ -85,9 +87,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Git
- name: Setup Git & Cache Nix
run: |
./tools/ci/setup-git.sh
just nix-develop git --version
- name: build
run: |
Expand All @@ -106,9 +109,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Git
- name: Setup Git & Cache Nix
run: |
./tools/ci/setup-git.sh
just nix-develop git --version
- name: Test
run: |
Expand All @@ -130,6 +134,7 @@ jobs:
- name: Setup Git
run: |
./tools/ci/setup-git.sh
just nix-develop git --version
- name: Build derivation with nix
run: |
Expand All @@ -149,9 +154,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Git
- name: Setup Git & Cache
run: |
./tools/ci/setup-git.sh
just nix-develop git --version
- name: Create version tag (if release)
run: |
Expand Down

0 comments on commit 3e50ef3

Please sign in to comment.