mirror of
				https://github.com/LOLBAS-Project/LOLBAS
				synced 2025-10-31 16:49:36 +01:00 
			
		
		
		
	Combining yaml linting and validation
This commit is contained in:
		
							
								
								
									
										31
									
								
								.github/workflows/validate-yaml-schema.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										31
									
								
								.github/workflows/validate-yaml-schema.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,31 +0,0 @@ | ||||
| name: Validate YAML Schema | ||||
|  | ||||
| on: [push, pull_request] | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|  | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     steps: | ||||
|     - uses: actions/checkout@v3 | ||||
|     - name: Validate OSBinaries YAML Schema | ||||
|       uses: cketti/action-pykwalify@v0.3-temp-fix | ||||
|       with: | ||||
|         files: yml/OSBinaries/*.yml | ||||
|         schema: YML-Schema.yml | ||||
|     - name: Validate OSLibraries YAML Schema | ||||
|       uses: cketti/action-pykwalify@v0.3-temp-fix | ||||
|       with: | ||||
|         files: yml/OSLibraries/*.yml | ||||
|         schema: YML-Schema.yml | ||||
|     - name: Validate OSScripts YAML Schema | ||||
|       uses: cketti/action-pykwalify@v0.3-temp-fix | ||||
|       with: | ||||
|         files: yml/OSScripts/*.yml | ||||
|         schema: YML-Schema.yml | ||||
|     - name: Validate OtherMSBinaries YAML Schema | ||||
|       uses: cketti/action-pykwalify@v0.3-temp-fix | ||||
|       with: | ||||
|         files: yml/OtherMSBinaries/*.yml | ||||
|         schema: YML-Schema.yml | ||||
							
								
								
									
										22
									
								
								.github/workflows/yaml-linting.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/yaml-linting.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| --- | ||||
| name: YAML Lint Push Check | ||||
| name: YAML Lint and Validation Push Check | ||||
| on: [push] | ||||
|  | ||||
| jobs: | ||||
| @@ -11,3 +11,23 @@ jobs: | ||||
|         uses: ibiqlik/action-yamllint@v3 | ||||
|         with: | ||||
|           config_file: .github/.yamllint | ||||
|     - name: Validate OSBinaries YAML Schema | ||||
|       uses: cketti/action-pykwalify@v0.3-temp-fix | ||||
|       with: | ||||
|         files: yml/OSBinaries/*.yml | ||||
|         schema: YML-Schema.yml | ||||
|     - name: Validate OSLibraries YAML Schema | ||||
|       uses: cketti/action-pykwalify@v0.3-temp-fix | ||||
|       with: | ||||
|         files: yml/OSLibraries/*.yml | ||||
|         schema: YML-Schema.yml | ||||
|     - name: Validate OSScripts YAML Schema | ||||
|       uses: cketti/action-pykwalify@v0.3-temp-fix | ||||
|       with: | ||||
|         files: yml/OSScripts/*.yml | ||||
|         schema: YML-Schema.yml | ||||
|     - name: Validate OtherMSBinaries YAML Schema | ||||
|       uses: cketti/action-pykwalify@v0.3-temp-fix | ||||
|       with: | ||||
|         files: yml/OtherMSBinaries/*.yml | ||||
|         schema: YML-Schema.yml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user