Skip to content

Commit 9610d12

Browse files
Fixing CI issue after go module merging
1 parent b7ab0d8 commit 9610d12

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/build-and-release.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ permissions:
2121

2222
jobs:
2323
test-go:
24-
strategy:
25-
matrix:
26-
module:
27-
- "."
28-
- "./api"
29-
- "./pkg/cluster-handler"
30-
- "./pkg/data-handler"
31-
- "./pkg/resource-handler"
3224
runs-on: ubuntu-latest
3325
steps:
3426
- name: Check out code
@@ -37,12 +29,10 @@ jobs:
3729
- name: Install Go
3830
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
3931
with:
40-
go-version-file: ${{ matrix.module }}/go.mod
32+
go-version-file: go.mod
4133

4234
- name: Run tests
43-
run: |-
44-
cd ${{ matrix.module}}
45-
go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
35+
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
4636

4737

4838
build-scan-push-container:

0 commit comments

Comments
 (0)