ci: setup go work after

This commit is contained in:
Julian Sommer
2026-03-06 10:41:45 +10:00
parent d90bf53eaf
commit aea2e2c05a
+9 -9
View File
@@ -37,15 +37,15 @@ jobs:
repository: mulgadc/predastore
path: predastore
- name: Setup Go Workspace
run: go work init ./hive ./viperblock ./predastore
- name: Setup Go
uses: actions/setup-go@v6
with:
cache-dependency-path: "hive/go.sum"
go-version-file: "hive/go.mod"
- name: Setup Go Workspace
run: go work init ./hive ./viperblock ./predastore
- name: Build Hive
run: make -C hive build
@@ -77,15 +77,15 @@ jobs:
repository: mulgadc/predastore
path: predastore
- name: Setup Go Workspace
run: go work init ./hive ./viperblock ./predastore
- name: Setup Go
uses: actions/setup-go@v6
with:
cache-dependency-path: "hive/go.sum"
go-version-file: "hive/go.mod"
- name: Setup Go Workspace
run: go work init ./hive ./viperblock ./predastore
- name: Run Tests with Race Detector
run: make -C hive test-race
@@ -111,15 +111,15 @@ jobs:
repository: mulgadc/predastore
path: predastore
- name: Setup Go Workspace
run: go work init ./hive ./viperblock ./predastore
- name: Setup Go
uses: actions/setup-go@v6
with:
cache-dependency-path: "hive/go.sum"
go-version-file: "hive/go.mod"
- name: Setup Go Workspace
run: go work init ./hive ./viperblock ./predastore
- name: Check Format
run: make -C hive check-format