fix(test): download dependencies before building

Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2023-05-28 23:23:53 +05:30
1 parent 21ab9bb40c
commit a28f01beee
1 file changed
+3 -1
+3 -1
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 ./...