mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Run compliance on amd64 infra (#16232)
* Run compliance on amd64 infra * Update .drone.yml
This commit is contained in:
		@@ -4,7 +4,7 @@ name: compliance
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
platform:
 | 
					platform:
 | 
				
			||||||
  os: linux
 | 
					  os: linux
 | 
				
			||||||
  arch: arm64
 | 
					  arch: amd64
 | 
				
			||||||
 | 
					
 | 
				
			||||||
trigger:
 | 
					trigger:
 | 
				
			||||||
  event:
 | 
					  event:
 | 
				
			||||||
@@ -27,7 +27,7 @@ steps:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  - name: lint-backend
 | 
					  - name: lint-backend
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    image: gitea/test_env:linux-arm64  # https://gitea.com/gitea/test-env
 | 
					    image: gitea/test_env:linux-amd64  # https://gitea.com/gitea/test-env
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make lint-backend
 | 
					      - make lint-backend
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
@@ -37,7 +37,7 @@ steps:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  - name: lint-backend-windows
 | 
					  - name: lint-backend-windows
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    image: gitea/test_env:linux-arm64  # https://gitea.com/gitea/test-env
 | 
					    image: gitea/test_env:linux-amd64  # https://gitea.com/gitea/test-env
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make golangci-lint vet
 | 
					      - make golangci-lint vet
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
@@ -49,7 +49,7 @@ steps:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  - name: lint-backend-gogit
 | 
					  - name: lint-backend-gogit
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    image: gitea/test_env:linux-arm64  # https://gitea.com/gitea/test-env
 | 
					    image: gitea/test_env:linux-amd64  # https://gitea.com/gitea/test-env
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make lint-backend
 | 
					      - make lint-backend
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user