Add .gitea/workflows/lint.yml
This commit is contained in:
		
							
								
								
									
										15
									
								
								.gitea/workflows/lint.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.gitea/workflows/lint.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					name: lint
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  - push
 | 
				
			||||||
 | 
					  - pull_request
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  lint:
 | 
				
			||||||
 | 
					    name: lint
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					      - name: install markdownlint-cli
 | 
				
			||||||
 | 
					        run: npm install -g markdownlint-cli
 | 
				
			||||||
 | 
					      - name: lint
 | 
				
			||||||
 | 
					        run: markdownlint '**/*.md'
 | 
				
			||||||
		Reference in New Issue
	
	Block a user