fuzzyworld

template / commit

Testing installing requirements using go.

21918c00e272ff48178e04e84f23b263f8e1f9e5 · Pavel Safronov · 2022-11-20 15:31:39 -0800 · parents 5c81baec50fb

Testing installing requirements using go.
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1518e8..4c79ed1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,8 +41,9 @@ lint-test-job:   # This job also runs in the test stage.
   stage: test    # It can run at the same time as unit-test-job (in parallel).
   script:
     - echo "Linting code... This will take about 10 seconds."
-    - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1
-    - export PATH=$PATH:./bin
+    # - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1
+    # - export PATH=$PATH:./bin
+    - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
     - whereis golangci-lint
     - golangci-lint --version
     - make lint