Skip to content

Commit

Permalink
BUG/MINOR: changes cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianonunes committed Sep 7, 2023
1 parent fcd2171 commit 2a10505
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-${{ hashFiles('**/*cfg') }}
restore-keys: |
${{ runner.os }}-go-
- name: tidy
Expand All @@ -66,7 +66,7 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-${{ hashFiles('**/*cfg') }}
restore-keys: |
${{ runner.os }}-go-
- name: tidy
Expand All @@ -89,7 +89,7 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-${{ hashFiles('**/*cfg') }}
restore-keys: |
${{ runner.os }}-go-
- name: Lint
Expand All @@ -111,7 +111,7 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-${{ hashFiles('**/*cfg') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
Expand All @@ -138,7 +138,7 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-${{ hashFiles('**/*cfg') }}
restore-keys: |
${{ runner.os }}-go-
- uses: engineerd/[email protected]
Expand Down

0 comments on commit 2a10505

Please sign in to comment.