mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-31 10:36:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			588 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			588 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: check-formatting
 | |
| 
 | |
| on:
 | |
|   pull_request:
 | |
| 
 | |
| jobs:
 | |
|   check-formatting:
 | |
|     runs-on: ubuntu-latest
 | |
|     name: Check formatting
 | |
|     steps:
 | |
|       - name: Checkout repository
 | |
|         uses: actions/checkout@v5
 | |
|         with:
 | |
|           submodules: recursive
 | |
| 
 | |
|       - name: Install LLVM and Clang
 | |
|         uses: KyleMayes/install-llvm-action@v2
 | |
|         with:
 | |
|           version: "20.1"
 | |
| 
 | |
|       - name: Test formatting for all files
 | |
|         working-directory: ${{ github.workspace }}
 | |
|         run: |
 | |
|           export CLANG_FORMAT_BIN="${LLVM_PATH}/bin/clang-format"
 | |
|           ./scripts/check-format.sh
 |