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
|
@ -19,6 +19,16 @@ jobs:
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
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
|
- name: Build
|
||||||
run: make build
|
run: make build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user