CI: Update workflows to use Python 3.11 (#1949)
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									6107749cbe
								
							
						
					
					
						commit
						fa3d69cf48
					
				| 
						 | 
					@ -66,10 +66,10 @@ jobs:
 | 
				
			||||||
      - name: Get a recent python
 | 
					      - name: Get a recent python
 | 
				
			||||||
        uses: actions/setup-python@v4
 | 
					        uses: actions/setup-python@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: '3.9'
 | 
					          python-version: '3.11'
 | 
				
			||||||
      - name: Install build-time dependencies
 | 
					      - name: Install build-time dependencies
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          echo "PYTHON=python3.9" >> $GITHUB_ENV
 | 
					          echo "PYTHON=python3.11" >> $GITHUB_ENV
 | 
				
			||||||
          wget -nv https://github.com/AppImage/AppImageKit/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
 | 
					          wget -nv https://github.com/AppImage/AppImageKit/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
 | 
				
			||||||
          chmod a+rx appimagetool-x86_64.AppImage
 | 
					          chmod a+rx appimagetool-x86_64.AppImage
 | 
				
			||||||
          ./appimagetool-x86_64.AppImage --appimage-extract
 | 
					          ./appimagetool-x86_64.AppImage --appimage-extract
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,10 +44,10 @@ jobs:
 | 
				
			||||||
      - name: Get a recent python
 | 
					      - name: Get a recent python
 | 
				
			||||||
        uses: actions/setup-python@v4
 | 
					        uses: actions/setup-python@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: '3.9'
 | 
					          python-version: '3.11'
 | 
				
			||||||
      - name: Install build-time dependencies
 | 
					      - name: Install build-time dependencies
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          echo "PYTHON=python3.9" >> $GITHUB_ENV
 | 
					          echo "PYTHON=python3.11" >> $GITHUB_ENV
 | 
				
			||||||
          wget -nv https://github.com/AppImage/AppImageKit/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
 | 
					          wget -nv https://github.com/AppImage/AppImageKit/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
 | 
				
			||||||
          chmod a+rx appimagetool-x86_64.AppImage
 | 
					          chmod a+rx appimagetool-x86_64.AppImage
 | 
				
			||||||
          ./appimagetool-x86_64.AppImage --appimage-extract
 | 
					          ./appimagetool-x86_64.AppImage --appimage-extract
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -36,12 +36,13 @@ jobs:
 | 
				
			||||||
          - {version: '3.8'}
 | 
					          - {version: '3.8'}
 | 
				
			||||||
          - {version: '3.9'}
 | 
					          - {version: '3.9'}
 | 
				
			||||||
          - {version: '3.10'}
 | 
					          - {version: '3.10'}
 | 
				
			||||||
 | 
					          - {version: '3.11'}
 | 
				
			||||||
        include:
 | 
					        include:
 | 
				
			||||||
          - python: {version: '3.8'}  # win7 compat
 | 
					          - python: {version: '3.8'}  # win7 compat
 | 
				
			||||||
            os: windows-latest
 | 
					            os: windows-latest
 | 
				
			||||||
          - python: {version: '3.10'}  # current
 | 
					          - python: {version: '3.11'}  # current
 | 
				
			||||||
            os: windows-latest
 | 
					            os: windows-latest
 | 
				
			||||||
          - python: {version: '3.10'}  # current
 | 
					          - python: {version: '3.11'}  # current
 | 
				
			||||||
            os: macos-latest
 | 
					            os: macos-latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue