1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2026-05-16 09:18:09 +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
+3 -1
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
+3 -1
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