Add .gitea/workflows/*.yaml
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
||||
uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||
id: hash-go
|
||||
with:
|
||||
patterns: |-
|
||||
patterns: |
|
||||
go.mod
|
||||
go.sum
|
||||
|
||||
@@ -29,13 +29,13 @@ jobs:
|
||||
|
||||
- name: Cache go
|
||||
id: cache-go
|
||||
uses: https://github.com/actions/cache@v3 # Action cache
|
||||
uses: actions/cache@v3
|
||||
with: # specify with your GOMODCACHE and GOCACHE
|
||||
path: |-
|
||||
path: |
|
||||
/root/go/pkg/mod
|
||||
/root/.cache/go-build
|
||||
key: go_cache-${{ steps.hash-go.outputs.hash }}
|
||||
restore-keys: |-
|
||||
restore-keys: |
|
||||
go_cache-${{ steps.hash-go.outputs.hash }}
|
||||
|
||||
- name: Build
|
||||
|
||||
Reference in New Issue
Block a user