Compare commits
2 Commits
6e30e407ca
...
fea5dd02eb
| Author | SHA1 | Date | |
|---|---|---|---|
| fea5dd02eb | |||
| 26f9c2b111 |
@@ -13,14 +13,13 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # all history for all branches and tags
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
check-latest: true
|
||||
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||
- name: Create cache key
|
||||
uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||
id: hash-go
|
||||
with:
|
||||
patterns: |
|
||||
@@ -34,6 +33,8 @@ jobs:
|
||||
/go_path
|
||||
/go_cache
|
||||
key: go_path-${{ steps.hash-go.outputs.hash }}
|
||||
restore-keys: |-
|
||||
go_cache-${{ steps.hash-go.outputs.hash }}
|
||||
- name: build
|
||||
run: make build
|
||||
- name: test
|
||||
|
||||
Reference in New Issue
Block a user