chore: update scripts #90
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the GitHub Actions workflows and various scripts to improve the CI/CD process and build configurations. The most important changes include updating the Go version management, adding new environment variables for multi-arch builds, and refactoring version management in scripts.
Updates to GitHub Actions workflows:
.github/workflows/tests.yml: Updated the Go version management to usego.modinstead of a hardcoded version, updated thegolangci-lintversion, and added ago mod tidystep. Also updated the OS matrix to includeubuntu-22.04. [1] [2]Environment variables for multi-arch builds:
scripts/constants.sh: AddedCGO_ENABLED=1to support multi-arch builds.Removal of unnecessary scripts:
scripts/lint.sh: Removed thelint.shscript as it is no longer needed.Refactoring version management in scripts:
scripts/versions.sh: Added aset_module_version_varfunction to dynamically set module versions fromgo.modand refactored existing version variables to use this function.Other minor changes:
scripts/run_ginkgo.sh: Removed the installation of theginkgobinary as it is no longer required.