Add caching and go-version-file to action
Go Test / test (push) Failing after 54s Details

This commit is contained in:
Fred Boniface 2024-04-05 22:22:11 +01:00
parent 78a8407f11
commit 7bba8407d5
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version-file: ./src/go.mod
cache: true
- name: Run tests
run: cd ./src && go test ./...