mirror of
https://github.com/guilhem/headscale-operator.git
synced 2024-11-21 19:13:00 +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
|
@ -20,6 +20,16 @@ jobs:
|
|||
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