mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	Put CI in own job
This commit is contained in:
		
							parent
							
								
									f0275b01b6
								
							
						
					
					
						commit
						4d1bb40bad
					
				
					 1 changed files with 13 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,19 @@
 | 
			
		|||
# Check https://circleci.com/docs/2.0/language-go/ for more details
 | 
			
		||||
version: 2.1
 | 
			
		||||
jobs:
 | 
			
		||||
  verify:
 | 
			
		||||
    docker:
 | 
			
		||||
      - image: circleci/golang:1.14.1
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - checkout
 | 
			
		||||
 | 
			
		||||
      - run:
 | 
			
		||||
          name: Run golangci-lint
 | 
			
		||||
          command: |
 | 
			
		||||
              curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0
 | 
			
		||||
              golangci-lint run
 | 
			
		||||
 | 
			
		||||
  build-linux:
 | 
			
		||||
    docker:
 | 
			
		||||
      - image: circleci/golang:1.14.1
 | 
			
		||||
| 
						 | 
				
			
			@ -33,12 +46,6 @@ jobs:
 | 
			
		|||
              sudo apt-get install -y rpm file
 | 
			
		||||
              mkdir -p ~/rpmbuild/BUILD ~/rpmbuild/RPMS ~/rpmbuild/SOURCES ~/rpmbuild/SPECS ~/rpmbuild/SRPMS
 | 
			
		||||
 | 
			
		||||
      - run:
 | 
			
		||||
          name: Run golangci-lint
 | 
			
		||||
          command: |
 | 
			
		||||
              curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0
 | 
			
		||||
              golangci-lint run
 | 
			
		||||
 | 
			
		||||
      - run:
 | 
			
		||||
          name: Test debug builds
 | 
			
		||||
          command: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue