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

This commit is contained in:
Fred Boniface 2024-04-05 22:22:11 +01:00
parent 78a8407f11
commit 7bba8407d5

View File

@ -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 ./...