Update Go version to 1.24 (#3167)

* Update Go version to 1.24
* Update golangci-lint version
* Add envtest to tool
* Add dashboard linter as a tool
* Uset t.Cleanup

---------

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2025-02-14 18:52:08 +05:30
committed by GitHub
parent 5eed09a8fc
commit 7119380716
25 changed files with 530 additions and 128 deletions
+1 -1
View File
@@ -12,5 +12,5 @@ DASHBOARD_PATH="$BASE_PATH/charts/fission-all/dashboards/*"
for f in $DASHBOARD_PATH
do
dashboard-linter lint --strict --verbose $f
go tool dashboard-linter lint --strict --verbose $f
done
+1 -2
View File
@@ -28,8 +28,7 @@ set +x
# for codecov
echo "" > coverage.txt
make install-envtest
KUBEBUILDER_ASSETS=$(setup-envtest -p path use 1.30.x)
KUBEBUILDER_ASSETS=$(go tool setup-envtest -p path use 1.30.x)
export KUBEBUILDER_ASSETS
# The executor unit test only works with NodePort-type services for