ci: remove cache
This commit is contained in:
parent
d209c48531
commit
075e92fe49
|
@ -27,25 +27,6 @@ jobs:
|
||||||
go env -w GO111MODULE=on
|
go env -w GO111MODULE=on
|
||||||
go env -w GOPROXY=https://goproxy.io,direct
|
go env -w GOPROXY=https://goproxy.io,direct
|
||||||
chown -R root:root /root/.ssh
|
chown -R root:root /root/.ssh
|
||||||
- name: Get go-hashfiles
|
|
||||||
uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
|
||||||
id: hash-go
|
|
||||||
with:
|
|
||||||
patterns: |-
|
|
||||||
go.mod
|
|
||||||
go.sum
|
|
||||||
- name: Echo hash
|
|
||||||
run: echo ${{ steps.hash-go.outputs.hash }}
|
|
||||||
- name: Cache go
|
|
||||||
id: cache-go
|
|
||||||
uses: https://gitea.com/actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |-
|
|
||||||
/root/go/pkg/mod
|
|
||||||
/root/.cache/go-build
|
|
||||||
key: go_cache-${{ steps.hash-go.outputs.hash }}
|
|
||||||
restore-keys: |-
|
|
||||||
go_cache-${{ steps.hash-go.outputs.hash }}
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make build
|
run: make build
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
Loading…
Reference in New Issue
Block a user