Skip to content

Commit 8a89c16

Browse files
committed
fix(ci): use correct setup-envtest version
- Changed from v0.17.0 to @latest for setup-envtest installation - v0.17.0 doesn't contain the setup-envtest tool package - Using @latest ensures we get the actual tool, not the controller-runtime library Fixes installation error in CI pipeline
1 parent 2d4f060 commit 8a89c16

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci-enhanced.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ jobs:
6161
# Create test results directory
6262
mkdir -p test-results
6363
64-
# Install setup-envtest with a specific version for stability
64+
# Install setup-envtest tool
6565
echo "Installing setup-envtest tool..."
66-
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.17.0
66+
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
6767
6868
# Create local bin directory
6969
mkdir -p ~/.local/bin
@@ -93,9 +93,9 @@ jobs:
9393
# Create test results directory
9494
New-Item -ItemType Directory -Path test-results -Force | Out-Null
9595
96-
# Install setup-envtest with a specific version for stability
96+
# Install setup-envtest tool
9797
Write-Host "Installing setup-envtest tool..."
98-
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.17.0
98+
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
9999
100100
# Add Go bin to PATH for this session
101101
$goPath = go env GOPATH

0 commit comments

Comments
 (0)