fix(test): download dependencies before building

Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
Amogh Lele 2023-05-28 23:23:53 +05:30
parent 21ab9bb40c
commit a28f01beee

View File

@ -31,7 +31,9 @@ jobs:
go-version: 1.20
- name: Build
run: go build .
run: |
go mod download
go build .
- name: Test
run: go test ./...