Skip to content

Commit

Permalink
ci: realise store paths in warm-up job
Browse files Browse the repository at this point in the history
  • Loading branch information
develop7 committed Dec 5, 2023
1 parent afb8952 commit cfa8d0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/actions/setup-nix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ runs:
with:
name: postgrest
authToken: ${{ inputs.authToken }}
- name: Put all tools to store to be cached afterwards
run: |
echo "::group::Downloading tools"
nix-store -v --realize $( nix-instantiate default.nix )
echo "::endgroup::"
shell: bash
- if: ${{ inputs.tools }}
run: nix-env -f default.nix -iA ${{ inputs.tools }}
shell: bash
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ jobs:
uses: ./.github/actions/setup-nix
with:
cache-id: common

- name: Put all tools to store to be cached afterwards
run: |
echo "::group::Downloading tools"
nix-store -v --realize $( nix-instantiate default.nix )
echo "::endgroup::"
shell: bash

Lint-Style:
name: Lint & check code style
runs-on: ubuntu-latest
Expand Down

0 comments on commit cfa8d0d

Please sign in to comment.