Skip to content

Commit 815e06b

Browse files
committed
Update test.yml
1 parent 4df68ae commit 815e06b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- name: Set up Go
1313
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
1414
with:
15-
go-version-file: "go.mod" # Ensure the correct location of the go.mod file
15+
go-version-file: "multinode/go.mod" # Ensure the correct location of the go.mod file
1616

17-
- name: Build
18-
run: go build -v ./...
17+
- name: Build multinode
18+
run: cd multinode && go build -v ./...
1919

2020
- name: Unit Tests
21-
run: GORACE="log_path=$PWD/race" go test -race ./... -coverpkg=./... -coverprofile=coverage.txt
21+
run: cd multinode && GORACE="log_path=$PWD/race" go test -race ./... -coverpkg=./... -coverprofile=coverage.txt
2222

2323
- name: Print Races
2424
if: failure()
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set up Go
4848
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
4949
with:
50-
go-version-file: "go.mod" # Adjust if necessary to the correct path
50+
go-version-file: "multinode/go.mod" # Adjust if necessary to the correct path
5151

5252
- name: Ensure "make gomodtidy" has been run
5353
run: |

0 commit comments

Comments
 (0)