Skip to content

Commit a753776

Browse files
committed
ci(e2e): run ginkgo CLI via go run to match pinned version
Installing the CLI with @latest pulled v2.29.0 against the v2.28.0 library in go.mod, which Ginkgo warns about and can mis-parse flags. 'go run github.com/onsi/ginkgo/v2/ginkgo' uses the module-pinned version.
1 parent cbc79e2 commit a753776

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ jobs:
7272

7373
- name: Run E2E tests with Ginkgo
7474
run: |
75-
go install github.com/onsi/ginkgo/v2/ginkgo@latest
76-
ginkgo run -v --timeout=10m --poll-progress-after=1m ./e2e
75+
go run github.com/onsi/ginkgo/v2/ginkgo run -v --timeout=10m --poll-progress-after=1m ./e2e
7776
env:
7877
CGO_ENABLED: 1
7978
continue-on-error: false
@@ -143,8 +142,7 @@ jobs:
143142

144143
- name: Run E2E tests with verbose output
145144
run: |
146-
go install github.com/onsi/ginkgo/v2/ginkgo@latest
147-
ginkgo run -v -r --timeout=10m --poll-progress-after=1m ./e2e
145+
go run github.com/onsi/ginkgo/v2/ginkgo run -v -r --timeout=10m --poll-progress-after=1m ./e2e
148146
env:
149147
CGO_ENABLED: 1
150148

0 commit comments

Comments
 (0)