mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 17:25:27 +01:00 
			
		
		
		
	bump to go 1.20 (#529)
Reviewed-on: https://gitea.com/gitea/tea/pulls/529 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		
							
								
								
									
										12
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -9,7 +9,7 @@ platform: | |||||||
| steps: | steps: | ||||||
| - name: vendor | - name: vendor | ||||||
|   pull: always |   pull: always | ||||||
|   image: golang:1.18 |   image: golang:1.20 | ||||||
|   environment: |   environment: | ||||||
|     GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not |     GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not | ||||||
|   commands: |   commands: | ||||||
| @@ -17,7 +17,7 @@ steps: | |||||||
|  |  | ||||||
| - name: build | - name: build | ||||||
|   pull: always |   pull: always | ||||||
|   image: golang:1.18 |   image: golang:1.20 | ||||||
|   environment: |   environment: | ||||||
|     GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not |     GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not | ||||||
|   commands: |   commands: | ||||||
| @@ -34,7 +34,7 @@ steps: | |||||||
|     - pull_request |     - pull_request | ||||||
|  |  | ||||||
| - name: unit-test | - name: unit-test | ||||||
|   image: golang:1.18 |   image: golang:1.20 | ||||||
|   commands: |   commands: | ||||||
|   - make unit-test-coverage |   - make unit-test-coverage | ||||||
|   settings: |   settings: | ||||||
| @@ -49,7 +49,7 @@ steps: | |||||||
|     - pull_request |     - pull_request | ||||||
|  |  | ||||||
| - name: release-test | - name: release-test | ||||||
|   image: golang:1.18 |   image: golang:1.20 | ||||||
|   commands: |   commands: | ||||||
|   - make test |   - make test | ||||||
|   settings: |   settings: | ||||||
| @@ -65,7 +65,7 @@ steps: | |||||||
|  |  | ||||||
| - name: tag-test | - name: tag-test | ||||||
|   pull: always |   pull: always | ||||||
|   image: golang:1.18 |   image: golang:1.20 | ||||||
|   commands: |   commands: | ||||||
|   - make test |   - make test | ||||||
|   settings: |   settings: | ||||||
| @@ -77,7 +77,7 @@ steps: | |||||||
|     - tag |     - tag | ||||||
|  |  | ||||||
| - name: static | - name: static | ||||||
|   image: golang:1.18 |   image: golang:1.20 | ||||||
|   environment: |   environment: | ||||||
|     GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not |     GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not | ||||||
|   commands: |   commands: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 techknowlogick
					techknowlogick