You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN hack/golangci-lint.sh
Installing GolangCI-Lint
golangci/golangci-lint crit uname_arch_check 'riscv64' got converted to 'riscv64' which is not a GOARCH value. Please file bug report at https://github.com/client9/shlib
FAILED hack/golangci-lint.sh
make: *** [Makefile:116: test] Error 1
Information
Skaffold version: v2.9.0
Operating system: linux/riscv64
Installed via: make install
Contents of skaffold.yaml: N/A
Steps to reproduce the behavior
a clonable repository with the sample skaffold project
make test
More Info
Upon examining the source code, I made the following changes for hack/install-golint.sh, so that install-golint.sh is compatible with the riscv64:
Upon further investigation of the golangci-lint repository, I discovered that the included install.sh script(https://github.com/golangci/golangci-lint/blob/master/install.sh) supports a broader range of architectures. It may be advantageous to utilize this script instead. If this option is not feasible, I am prepared to create a pull request to introduce riscv64 support to the existing script.
The text was updated successfully, but these errors were encountered:
When executing ./hack/bin/golangci-lint run --skip-dirs fs/assets/credits_generated --exclude=SA1019 --exclude=appendAssign -c hack/golangci.yml on a low-performance device (riscv64), it fails due to a timeout. To address this issue, I have adjusted the timeout option in the hack/golangci.yml file from 10 minutes to 20 minutes. Subsequent testing revealed that the process completed in 17 minutes:
PASSED hack/golangci-lint.sh in 1068s
I don't think this should be a problem, just a side note here.
Expected behavior
All unit tests should pass.
Actual behavior
Information
v2.9.0
linux/riscv64
make install
N/A
Steps to reproduce the behavior
make test
More Info
Upon examining the source code, I made the following changes for
hack/install-golint.sh
, so thatinstall-golint.sh
is compatible with theriscv64
:Upon further investigation of the
golangci-lint
repository, I discovered that the includedinstall.sh
script(https://github.com/golangci/golangci-lint/blob/master/install.sh) supports a broader range of architectures. It may be advantageous to utilize this script instead. If this option is not feasible, I am prepared to create a pull request to introduceriscv64
support to the existing script.The text was updated successfully, but these errors were encountered: