mirror of
				https://github.com/georgyo/ifconfig.io.git
				synced 2025-10-31 02:36:38 +00:00 
			
		
		
		
	Test actions
This commit is contained in:
		
							
								
								
									
										19
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  | name: "Test" | ||||||
|  | on: | ||||||
|  |   pull_request: | ||||||
|  |   push: | ||||||
|  | jobs: | ||||||
|  |   tests: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |     - uses: actions/checkout@v2 | ||||||
|  |       with: | ||||||
|  |           # Nix Flakes doesn't work on shallow clones | ||||||
|  |           fetch-depth: 0 | ||||||
|  |     - uses: cachix/install-nix-action@v12 | ||||||
|  |       with: | ||||||
|  |         install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20200820_4d77513/install | ||||||
|  |         extra_nix_config: | | ||||||
|  |           experimental-features = nix-command flakes | ||||||
|  |           system-features = nixos-test benchmark big-parallel kvm | ||||||
|  |     - run: nix-build | ||||||
		Reference in New Issue
	
	Block a user