Skip to content

Commit 3e24c05

Browse files
committed
Remove restore and gc logic
1 parent a205cf6 commit 3e24c05

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

.github/setup_evap/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ runs:
1919
using: "composite"
2020
steps:
2121
- name: Install nix
22-
uses: nixbuild/nix-quick-install-action@v30
22+
uses: nixbuild/nix-quick-install-action@v34
2323
- name: Write nix.conf
2424
run: cp -v nix/nix.conf ~/.config/nix/nix.conf
2525
shell: bash
2626
- name: Restore and save Nix store
2727
uses: nix-community/cache-nix-action@v6
2828
with:
2929
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', 'flake.lock', 'uv.lock', 'evap/development/manage_autocompletion.sh') }}-${{ inputs.shell }}-${{ inputs.start-db }}
30-
restore-prefixes-first-match: nix-${{ runner.os }}-
31-
gc-max-store-size-linux: 1G
3230
- uses: nicknovitski/nix-develop@v1
3331
with:
3432
arguments: "${{ inputs.shell }}"

.github/workflows/tests.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,11 @@ jobs:
7474
- uses: actions/checkout@v6
7575
with:
7676
submodules: true
77-
- name: Install nix
78-
uses: nixbuild/nix-quick-install-action@v30
79-
- name: Write nix.conf
80-
run: cp -v nix/nix.conf ~/.config/nix/nix.conf
81-
- name: Restore and save Nix store
82-
uses: nix-community/cache-nix-action@v6
77+
- uses: nixbuild/nix-quick-install-action@v34
78+
- run: cp -v nix/nix.conf ~/.config/nix/nix.conf
79+
- uses: nix-community/cache-nix-action@v6
8380
with:
8481
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', 'flake.lock', 'uv.lock', 'evap/development/manage_autocompletion.sh') }}-build_wheel
85-
restore-prefixes-first-match: nix-${{ runner.os }}-
86-
gc-max-store-size-linux: 1G
8782
- run: nix run .#build-dist
8883
- run: tar tvf dist/*.tar.gz
8984
- run: unzip -l dist/*.whl
@@ -220,16 +215,11 @@ jobs:
220215
repository: e-valuation/evap-deployment
221216
path: deployment
222217

223-
- name: Install nix
224-
uses: nixbuild/nix-quick-install-action@v30
225-
- name: Write nix.conf
226-
run: cp -v main/nix/nix.conf ~/.config/nix/nix.conf
227-
- name: Restore and save Nix store
228-
uses: nix-community/cache-nix-action@v6
218+
- uses: nixbuild/nix-quick-install-action@v34
219+
- run: cp -v main/nix/nix.conf ~/.config/nix/nix.conf
220+
- uses: nix-community/cache-nix-action@v6
229221
with:
230222
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', 'flake.lock', 'uv.lock', 'evap/development/manage_autocompletion.sh') }}-backup_process
231-
restore-prefixes-first-match: nix-${{ runner.os }}-
232-
gc-max-store-size-linux: 1G
233223
- name: Start database
234224
working-directory: deployment
235225
run: nix run ../main#services -- --detached

0 commit comments

Comments
 (0)