ci: consider all go.sum files for mod cache
All checks were successful
Test / elint (push) Successful in 35s

This commit is contained in:
Jared Allard 2025-03-09 17:03:17 -07:00
parent c3b6737318
commit b778cd230a
Signed by: jaredallard
SSH key fingerprint: SHA256:wyRyyv28jBYw8Yp/oABNPUYvbGd6hyZj23XVXEm5G/U
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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