Skip to content

Commit

Permalink
ci: Remove useless cache- prefix for cache names
Browse files Browse the repository at this point in the history
This just makes the name longer than needed.
  • Loading branch information
wolfgangwalther committed Feb 6, 2024
1 parent 582f683 commit ffb7e24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-nix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ runs:
if: ${{ inputs.cache }}
uses: nix-community/[email protected]
with:
key: cache-nix-${{ runner.os }}-${{ inputs.cache }}-${{ hashFiles('**/*.nix', 'nix/**/*.patch') }}
key: nix-${{ runner.os }}-${{ inputs.cache }}-${{ hashFiles('**/*.nix', 'nix/**/*.patch') }}
restore-keys: |
cache-nix-${{ runner.os }}-${{ inputs.cache }}-
nix-${{ runner.os }}-${{ inputs.cache }}-
- uses: cachix/cachix-action@v14
with:
name: postgrest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ jobs:
id: restore-cache
with:
path: ${{ matrix.cache }}
key: cache-stack-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }}
key: stack-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }}
restore-keys: |
cache-stack-${{ runner.os }}-
stack-${{ runner.os }}-
- name: Install dependencies
if: ${{ matrix.deps }}
run: ${{ matrix.deps }}
Expand Down Expand Up @@ -311,9 +311,9 @@ jobs:
~/.cabal/packages
~/.cabal/store
dist-newstyle
key: cache-cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('postgrest.cabal', 'cabal.project', 'cabal.project.freeze') }}
key: cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('postgrest.cabal', 'cabal.project', 'cabal.project.freeze') }}
restore-keys: |
cache-cabal-${{ runner.os }}-${{ matrix.ghc }}-
cabal-${{ runner.os }}-${{ matrix.ghc }}-
- name: Install dependencies
run: |
cabal update
Expand Down

0 comments on commit ffb7e24

Please sign in to comment.