ci: consider all go.sum files for mod cache
All checks were successful
Test / elint (push) Successful in 35s
All checks were successful
Test / elint (push) Successful in 35s
This commit is contained in:
parent
c3b6737318
commit
b778cd230a
2 changed files with 2 additions and 2 deletions
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
- uses: https://code.forgejo.org/actions/cache@v4
|
- uses: https://code.forgejo.org/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.go.outputs.mod_cache_dir }}
|
path: ${{ steps.go.outputs.mod_cache_dir }}
|
||||||
key: ${{ runner.os }}-go-mod-cache-${{ hashFiles('go.sum') }}
|
key: ${{ runner.os }}-go-mod-cache-${{ hashFiles('**/go.sum') }}
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
working-directory: .tools
|
working-directory: .tools
|
||||||
run: mise run build
|
run: mise run build
|
||||||
|
|
2
.github/workflows/update.yaml
vendored
2
.github/workflows/update.yaml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
- uses: https://code.forgejo.org/actions/cache@v4
|
- uses: https://code.forgejo.org/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.go.outputs.mod_cache_dir }}
|
path: ${{ steps.go.outputs.mod_cache_dir }}
|
||||||
key: ${{ runner.os }}-go-mod-cache-${{ hashFiles('go.sum') }}
|
key: ${{ runner.os }}-go-mod-cache-${{ hashFiles('**/go.sum') }}
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
working-directory: .tools
|
working-directory: .tools
|
||||||
run: mise run build
|
run: mise run build
|
||||||
|
|
Loading…
Add table
Reference in a new issue