1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-09-16 09:36:18 +02:00

Better caching in GH actions

This commit is contained in:
DarthSim
2022-04-06 17:40:35 +06:00
parent dead87c35c
commit db2b853745
2 changed files with 6 additions and 2 deletions

View File

@@ -25,7 +25,9 @@ jobs:
- name: Cache mods
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Download mods
run: go mod download

View File

@@ -25,7 +25,9 @@ jobs:
- name: Cache mods
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Download mods
run: go mod download