mirror of
https://github.com/guilhem/headscale-operator.git
synced 2024-11-24 20:42:54 +00:00
add cache
This commit is contained in:
parent
19341b3cf6
commit
31e2c6f236
10
.github/workflows/go.yml
vendored
10
.github/workflows/go.yml
vendored
|
@ -19,6 +19,16 @@ jobs:
|
|||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
||||
- name: Build
|
||||
run: make build
|
||||
|
|
Loading…
Reference in New Issue
Block a user