mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 10:08:37 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			672 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			672 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Build and Test
 | |
| 
 | |
| on:
 | |
|   pull_request:
 | |
|   push:
 | |
|     branches:
 | |
|       - master
 | |
|       - releases/*
 | |
| 
 | |
| jobs:
 | |
| 
 | |
|   test:
 | |
|     strategy:
 | |
|       matrix:
 | |
|         runs-on: [ubuntu-latest]
 | |
|     runs-on: ${{ matrix.runs-on }}
 | |
| 
 | |
|     steps:
 | |
|       # Clone this repo
 | |
|       - name: Checkout
 | |
|         uses: actions/checkout@v2
 | |
| 
 | |
|       # LFS
 | |
|       - name: LFS checkout
 | |
|         uses: ./
 | |
|         with:
 | |
|           repository: actions/checkout # hardcoded, otherwise doesn't work from a fork
 | |
|           ref: test-data/v2/lfs
 | |
|           path: lfs
 | |
|           lfs: true
 | |
|       - name: Verify LFS
 | |
|         shell: bash
 | |
|         run: __test__/verify-lfs.sh
 | |
|       - run: ls -la .git
 | |
|       - run: ls -la .git/objects
 | 
