ci: remove cache
Some checks failed
checks / build (push) Waiting to run
checks / build (pull_request) Has been cancelled

This commit is contained in:
张泊明518370910136 2024-09-19 19:12:08 -04:00
parent d209c48531
commit 075e92fe49
GPG Key ID: D47306D7062CDA9D

View File

@ -27,25 +27,6 @@ jobs:
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
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
run: make build
- name: Test