File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set  -ex
33
4+ GO_VERSION=1.22.8
5+ GOLANGCI_LINT_VERSION=1.60.1
6+ 
47#  Unset the cross-compiler overrides while downloading binaries.
58GOOS_ORIG=${GOOS:- } 
69export  GOOS=
710GOARCH_ORIG=${GOARCH:- } 
811export  GOARCH=
912
1013#  Keep this in sync with go version used in static-analysis Evergreen build variant.
11- go install golang.org/dl/go1.22.7 @latest
12- go1.22.7  download
13- PATH=" $( go1.22.7  env GOROOT)  /bin:$PATH " 
14+ go install golang.org/dl/go $GO_VERSION @latest
15+ go $GO_VERSION  download
16+ PATH=" $( go $GO_VERSION  env GOROOT)  /bin:$PATH " 
1417export  PATH
15- go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.1 
18+ go install github.com/golangci/golangci-lint/cmd/golangci-lint@v $GOLANGCI_LINT_VERSION 
1619
1720export  GOOS=$GOOS_ORIG 
1821export  GOARCH=$GOARCH_ORIG 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments