updated workflow config
This commit is contained in:
		
							parent
							
								
									64fabc98f3
								
							
						
					
					
						commit
						041456c615
					
				|  | @ -1,20 +1,27 @@ | ||||||
| --- | --- | ||||||
| 
 | 
 | ||||||
| name: AutoLint | name: Lint | ||||||
| 
 | 
 | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|     branches: [main, stable, latest] |     branches: [main, stable, latest] | ||||||
|  |     paths: | ||||||
|  |       - '**.py' | ||||||
|  |       - '**.yml' | ||||||
|  |       - '.github/workflows/lint.yml' | ||||||
|  |       - 'requirements_lint.txt' | ||||||
|   pull_request: |   pull_request: | ||||||
|     branches: [main, stable, latest] |     branches: [main, stable, latest] | ||||||
|  |     paths: | ||||||
|  |       - '**.py' | ||||||
|  |       - '**.yml' | ||||||
|  |       - '.github/workflows/lint.yml' | ||||||
|  |       - 'requirements_lint.txt' | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|     strategy: |  | ||||||
|       matrix: |  | ||||||
|         python-version: [3.10] |  | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
| 
 |     timeout-minutes: 2 | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v3 | ||||||
		Loading…
	
		Reference in New Issue