mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	fix python version
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/pr_checks.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/pr_checks.yaml
									
									
									
									
										vendored
									
									
								
							@@ -11,10 +11,10 @@ on:
 | 
				
			|||||||
    branches-ignore:
 | 
					    branches-ignore:
 | 
				
			||||||
      - l10*
 | 
					      - l10*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
inputs:
 | 
					# inputs:
 | 
				
			||||||
  python_version:
 | 
					#   python_version:
 | 
				
			||||||
    description: “Python version”
 | 
					#     description: “Python version”
 | 
				
			||||||
    default: 3.7
 | 
					#     default: 3.7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -36,10 +36,10 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout code
 | 
					      - name: Checkout code
 | 
				
			||||||
        uses: actions/checkout@v2
 | 
					        uses: actions/checkout@v2
 | 
				
			||||||
      - name: Set up Python ${{inputs.python_version}}
 | 
					      - name: Set up Python 3.7
 | 
				
			||||||
        uses: actions/setup-python@v2
 | 
					        uses: actions/setup-python@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: ${{inputs.python_version}}
 | 
					          python-version: 3.7
 | 
				
			||||||
      - name: Install deps
 | 
					      - name: Install deps
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          pip install flake8==3.8.3
 | 
					          pip install flake8==3.8.3
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user