Bump Go to v1.24, golangci-lint to v2.2
Signed-off-by: Nic Cope <nicc@rk0n.org>
This commit is contained in:
		
							parent
							
								
									ebceaacf21
								
							
						
					
					
						commit
						d65515ca89
					
				| 
						 | 
				
			
			@ -3,7 +3,7 @@ VERSION --try --raw-output 0.8
 | 
			
		|||
 | 
			
		||||
PROJECT crossplane/crossplane-runtime
 | 
			
		||||
 | 
			
		||||
ARG --global GO_VERSION=1.23.7
 | 
			
		||||
ARG --global GO_VERSION=1.24.4
 | 
			
		||||
 | 
			
		||||
# reviewable checks that a branch is ready for review. Run it before opening a
 | 
			
		||||
# pull request. It will catch a lot of the things our CI workflow will catch.
 | 
			
		||||
| 
						 | 
				
			
			@ -102,7 +102,7 @@ go-test:
 | 
			
		|||
 | 
			
		||||
# go-lint lints Go code.
 | 
			
		||||
go-lint:
 | 
			
		||||
  ARG GOLANGCI_LINT_VERSION=v1.64.8
 | 
			
		||||
  ARG GOLANGCI_LINT_VERSION=v2.2.1
 | 
			
		||||
  FROM +go-modules
 | 
			
		||||
  # This cache is private because golangci-lint doesn't support concurrent runs.
 | 
			
		||||
  CACHE --id go-lint --sharing private /root/.cache/golangci-lint
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue