1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

chore(ci): cache go-build results on github actions (#2559)

This commit is contained in:
Carlos Alexandro Becker 2021-10-06 08:21:38 -03:00 committed by GitHub
parent e546cb74bb
commit aca255493b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,10 +48,12 @@ jobs:
with:
go-version: '1.17'
-
name: Cache Go modules
name: Cache Go mod and build
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-