Add caching and go-version-file to action
Some checks failed
Go Test / test (push) Failing after 54s
Some checks failed
Go Test / test (push) Failing after 54s
This commit is contained in:
parent
78a8407f11
commit
7bba8407d5
@ -16,7 +16,8 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.21'
|
go-version-file: ./src/go.mod
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cd ./src && go test ./...
|
run: cd ./src && go test ./...
|
Loading…
Reference in New Issue
Block a user