mirror of
				https://github.com/prometheus/prometheus.git
				synced 2025-10-31 16:31:03 +01:00 
			
		
		
		
	Merge pull request #11758 from lucacome/bump-golangci-lint
Bump golangci-lint to v1.50.1
This commit is contained in:
		
						commit
						87257eebc6
					
				
							
								
								
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -141,9 +141,9 @@ jobs: | |||||||
|         run: sudo apt-get update && sudo apt-get -y install libsnmp-dev |         run: sudo apt-get update && sudo apt-get -y install libsnmp-dev | ||||||
|         if: github.repository == 'prometheus/snmp_exporter' |         if: github.repository == 'prometheus/snmp_exporter' | ||||||
|       - name: Lint |       - name: Lint | ||||||
|         uses: golangci/golangci-lint-action@v3.3.0 |         uses: golangci/golangci-lint-action@v3.3.1 | ||||||
|         with: |         with: | ||||||
|           version: v1.49.0 |           version: v1.50.1 | ||||||
|   fuzzing: |   fuzzing: | ||||||
|     uses: ./.github/workflows/fuzzing.yml |     uses: ./.github/workflows/fuzzing.yml | ||||||
|     if: github.event_name == 'pull_request' |     if: github.event_name == 'pull_request' | ||||||
|  | |||||||
| @ -61,7 +61,7 @@ PROMU_URL     := https://github.com/prometheus/promu/releases/download/v$(PROMU_ | |||||||
| SKIP_GOLANGCI_LINT := | SKIP_GOLANGCI_LINT := | ||||||
| GOLANGCI_LINT := | GOLANGCI_LINT := | ||||||
| GOLANGCI_LINT_OPTS ?= | GOLANGCI_LINT_OPTS ?= | ||||||
| GOLANGCI_LINT_VERSION ?= v1.49.0 | GOLANGCI_LINT_VERSION ?= v1.50.1 | ||||||
| # golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
 | # golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
 | ||||||
| # windows isn't included here because of the path separator being different.
 | # windows isn't included here because of the path separator being different.
 | ||||||
| ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin)) | ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin)) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user