mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 11:54:50 +00:00 
			
		
		
		
	Update Actions in GitHub Actions CI/CD workflows
This commit is contained in:
		
							parent
							
								
									1c5099440b
								
							
						
					
					
						commit
						3ae0fb3454
					
				
							
								
								
									
										15
									
								
								.github/workflows/cd.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/cd.yml
									
									
									
									
										vendored
									
									
								
							@ -1,4 +1,9 @@
 | 
				
			|||||||
name: cd
 | 
					name: cd
 | 
				
			||||||
 | 
					permissions:
 | 
				
			||||||
 | 
					  contents: "write"
 | 
				
			||||||
 | 
					  id-token: "write"
 | 
				
			||||||
 | 
					  packages: "write"
 | 
				
			||||||
 | 
					  pull-requests: "read"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
on:
 | 
					on:
 | 
				
			||||||
  push:
 | 
					  push:
 | 
				
			||||||
@ -16,15 +21,15 @@ jobs:
 | 
				
			|||||||
      with:
 | 
					      with:
 | 
				
			||||||
        python-version: '3.10.x'
 | 
					        python-version: '3.10.x'
 | 
				
			||||||
    - name: Install Poetry
 | 
					    - name: Install Poetry
 | 
				
			||||||
      uses: abatilo/actions-poetry@v2.2.0
 | 
					      uses: abatilo/actions-poetry@v2.3.0
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        poetry-version: '1.3.2'
 | 
					        poetry-version: '1.4.2'
 | 
				
			||||||
    - name: Install dependencies
 | 
					    - name: Install dependencies
 | 
				
			||||||
      run: poetry install
 | 
					      run: poetry install
 | 
				
			||||||
    - name: Build wheel
 | 
					    - name: Build project
 | 
				
			||||||
      run: poetry build -f wheel
 | 
					      run: poetry build
 | 
				
			||||||
    - name: Upload wheel
 | 
					    - name: Upload wheel
 | 
				
			||||||
      uses: actions/upload-artifact@v2.2.4
 | 
					      uses: actions/upload-artifact@v3
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        name: Python Wheel
 | 
					        name: Python Wheel
 | 
				
			||||||
        path: "dist/*.whl"
 | 
					        path: "dist/*.whl"
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@ -29,9 +29,9 @@ jobs:
 | 
				
			|||||||
        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
 | 
					        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
 | 
				
			||||||
        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
 | 
					        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
 | 
				
			||||||
    - name: Install poetry
 | 
					    - name: Install poetry
 | 
				
			||||||
      uses: abatilo/actions-poetry@v2.2.0
 | 
					      uses: abatilo/actions-poetry@v2.3.0
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        poetry-version: 1.3.2
 | 
					        poetry-version: 1.4.2
 | 
				
			||||||
    - name: Install project
 | 
					    - name: Install project
 | 
				
			||||||
      run: poetry install --no-dev
 | 
					      run: poetry install --no-dev
 | 
				
			||||||
    - name: Build project
 | 
					    - name: Build project
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user