ci: readable cache and check for latest
Some checks failed
Gitea Build Check / Build (push) Has been cancelled
Some checks failed
Gitea Build Check / Build (push) Has been cancelled
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
819dc7055a
commit
f34cc637ec
@ -23,9 +23,9 @@ jobs:
|
||||
# Path to the go.mod file.
|
||||
go-version-file: ./go.mod # optional
|
||||
# Set this option to true if you want the action to always check for the latest available version that satisfies the version spec
|
||||
check-latest: false # optional
|
||||
check-latest: true # optional
|
||||
# Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
|
||||
cache: false # optional
|
||||
cache: true # optional
|
||||
|
||||
- name: Execute Go Test files with coverage report
|
||||
run: go test -v ./... -json -coverprofile="coverage.out" > "test-report.out"
|
||||
|
Reference in New Issue
Block a user