mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 09:56:28 +00:00 
			
		
		
		
	Update CI
This commit is contained in:
		
							
								
								
									
										18
									
								
								.github/workflows/rust.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.github/workflows/rust.yml
									
									
									
									
										vendored
									
									
								
							@@ -21,6 +21,11 @@ jobs:
 | 
				
			|||||||
        os: [ubuntu-18.04, macos-latest]
 | 
					        os: [ubuntu-18.04, macos-latest]
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v2
 | 
					    - uses: actions/checkout@v2
 | 
				
			||||||
 | 
					    - name: Run cargo check without any default features
 | 
				
			||||||
 | 
					      uses: actions-rs/cargo@v1
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        command: check
 | 
				
			||||||
 | 
					        args: --no-default-features
 | 
				
			||||||
    - name: Run cargo test
 | 
					    - name: Run cargo test
 | 
				
			||||||
      uses: actions-rs/cargo@v1
 | 
					      uses: actions-rs/cargo@v1
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
@@ -28,15 +33,20 @@ jobs:
 | 
				
			|||||||
        args: --locked --release
 | 
					        args: --locked --release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # We don't run test on Windows since we get the following error: There is not enough space on the disk.
 | 
					  # We don't run test on Windows since we get the following error: There is not enough space on the disk.
 | 
				
			||||||
  build-on-windows:
 | 
					  check-on-windows:
 | 
				
			||||||
    name: Build on windows-latest
 | 
					    name: Cargo check on Windows
 | 
				
			||||||
    runs-on: windows-latest
 | 
					    runs-on: windows-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v2
 | 
					    - uses: actions/checkout@v2
 | 
				
			||||||
    - name: Run cargo test
 | 
					    - name: Run cargo check without any default features
 | 
				
			||||||
      uses: actions-rs/cargo@v1
 | 
					      uses: actions-rs/cargo@v1
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        command: build
 | 
					        command: check
 | 
				
			||||||
 | 
					        args: --no-default-features
 | 
				
			||||||
 | 
					    - name: Run cargo check with all default features
 | 
				
			||||||
 | 
					      uses: actions-rs/cargo@v1
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        command: check
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  clippy:
 | 
					  clippy:
 | 
				
			||||||
    name: Run Clippy
 | 
					    name: Run Clippy
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user