Commit 72a26a0
ci: Fix yq installation failure by pinning version and disabling sumdb check (#2962)
* ci: Pin yq to v4.44.1 and disable checksum check
The installation of `yq` via `go install ...@latest` is failing in CI
due to a malformed file path in the `v4.52.1` release, which causes
`go install` to crash when verifying the module.
This change pins `yq` to `v4.44.1`, which is a known working version.
It also sets `GONOSUMDB=github.com/mikefarah/yq/v4` to bypass the
deprecation/checksum check that `go install` performs against the
`latest` version, which was causing failures even when a specific
version was requested.
Co-authored-by: joshlf <1046063+joshlf@users.noreply.github.com>
* ci: Pin yq to v4.44.1 and disable checksum check
The installation of `yq` via `go install ...@latest` is failing in CI
due to a malformed file path in the `v4.52.1` release, which causes
`go install` to crash when verifying the module.
This change pins `yq` to `v4.44.1`, which is a known working version.
It also sets `GONOSUMDB=github.com/mikefarah/yq/v4` to bypass the
deprecation/checksum check that `go install` performs against the
`latest` version, which was causing failures even when a specific
version was requested.
Co-authored-by: joshlf <1046063+joshlf@users.noreply.github.com>
* [ci] Pin yq to v4.44.1 and disable checksum check
The installation of `yq` via `go install ...@latest` is failing in CI
due to a malformed file path in the `v4.52.1` release, which causes
`go install` to crash when verifying the module.
This change pins `yq` to `v4.44.1`, which is a known working version.
It also sets `GONOSUMDB=github.com/mikefarah/yq/v4` to bypass the
deprecation/checksum check that `go install` performs against the
`latest` version, which was causing failures even when a specific
version was requested.
Co-authored-by: joshlf <1046063+joshlf@users.noreply.github.com>
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: joshlf <1046063+joshlf@users.noreply.github.com>1 parent c6a9490 commit 72a26a0
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
897 | 899 | | |
898 | 900 | | |
899 | 901 | | |
| |||
905 | 907 | | |
906 | 908 | | |
907 | 909 | | |
908 | | - | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
909 | 913 | | |
910 | 914 | | |
911 | 915 | | |
| |||
931 | 935 | | |
932 | 936 | | |
933 | 937 | | |
934 | | - | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
935 | 941 | | |
936 | 942 | | |
937 | 943 | | |
| |||
0 commit comments