replace python_version with python-version
This commit is contained in:
		@@ -2,7 +2,7 @@ name: Python w/ Poetry + Docker CI
 | 
				
			|||||||
on:
 | 
					on:
 | 
				
			||||||
  workflow_call:
 | 
					  workflow_call:
 | 
				
			||||||
    inputs:
 | 
					    inputs:
 | 
				
			||||||
      python_version:
 | 
					      python-version:
 | 
				
			||||||
        type: string
 | 
					        type: string
 | 
				
			||||||
        default: "3.11"
 | 
					        default: "3.11"
 | 
				
			||||||
        description: "Version of Python to use for testing environment"
 | 
					        description: "Version of Python to use for testing environment"
 | 
				
			||||||
@@ -16,11 +16,11 @@ jobs:
 | 
				
			|||||||
  ci:
 | 
					  ci:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Set python_version
 | 
					      - name: Set python-version
 | 
				
			||||||
        id: python_version
 | 
					        id: python-version
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          PYTHON_VERSION=${{ github.event.inputs.python_version }}
 | 
					          PYTHON_VERSION=${{ github.event.inputs.python-version }}
 | 
				
			||||||
          echo "::set-output name=value::${PYTHON_VERSION:-"3.11"}"
 | 
					          echo "value=${PYTHON_VERSION:-"3.11"}" >> $GITHUB_OUTPUT
 | 
				
			||||||
      - name: Check out repository code
 | 
					      - name: Check out repository code
 | 
				
			||||||
        uses: actions/checkout@v4.1.7
 | 
					        uses: actions/checkout@v4.1.7
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -34,7 +34,7 @@ jobs:
 | 
				
			|||||||
      - name: Setup Python
 | 
					      - name: Setup Python
 | 
				
			||||||
        uses: actions/setup-python@v5
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: "${{ steps.python_version.outputs.value }}"
 | 
					          python-version: "${{ steps.python-version.outputs.value }}"
 | 
				
			||||||
      - name: Setup Poetry
 | 
					      - name: Setup Poetry
 | 
				
			||||||
        uses: abatilo/actions-poetry@v3
 | 
					        uses: abatilo/actions-poetry@v3
 | 
				
			||||||
      - name: Install dependencies
 | 
					      - name: Install dependencies
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										12
									
								
								.github/workflows/ci-python-poetry.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/ci-python-poetry.yml
									
									
									
									
										vendored
									
									
								
							@@ -2,7 +2,7 @@ name: Python w/ Poetry CI
 | 
				
			|||||||
on:
 | 
					on:
 | 
				
			||||||
  workflow_call:
 | 
					  workflow_call:
 | 
				
			||||||
    inputs:
 | 
					    inputs:
 | 
				
			||||||
      python_version:
 | 
					      python-version:
 | 
				
			||||||
        type: string
 | 
					        type: string
 | 
				
			||||||
        default: "3.11"
 | 
					        default: "3.11"
 | 
				
			||||||
        description: "Version of Python to use for testing environment"
 | 
					        description: "Version of Python to use for testing environment"
 | 
				
			||||||
@@ -16,11 +16,11 @@ jobs:
 | 
				
			|||||||
  ci:
 | 
					  ci:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Set python_version
 | 
					      - name: Set python-version
 | 
				
			||||||
        id: python_version
 | 
					        id: python-version
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          PYTHON_VERSION=${{ github.event.inputs.python_version }}
 | 
					          PYTHON_VERSION=${{ github.event.inputs.python-version }}
 | 
				
			||||||
          echo "::set-output name=value::${PYTHON_VERSION:-"3.11"}"
 | 
					          echo "value=${PYTHON_VERSION:-"3.11"}" >> $GITHUB_OUTPUT
 | 
				
			||||||
      - name: Check out repository code
 | 
					      - name: Check out repository code
 | 
				
			||||||
        uses: actions/checkout@v4.1.7
 | 
					        uses: actions/checkout@v4.1.7
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -28,7 +28,7 @@ jobs:
 | 
				
			|||||||
      - name: Setup Python
 | 
					      - name: Setup Python
 | 
				
			||||||
        uses: actions/setup-python@v5
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: "${{ steps.python_version.outputs.value }}"
 | 
					          python-version: "${{ steps.python-version.outputs.value }}"
 | 
				
			||||||
      - name: Setup Poetry
 | 
					      - name: Setup Poetry
 | 
				
			||||||
        uses: abatilo/actions-poetry@v3
 | 
					        uses: abatilo/actions-poetry@v3
 | 
				
			||||||
      - name: Install dependencies
 | 
					      - name: Install dependencies
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										12
									
								
								.github/workflows/ci-python-with-docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/ci-python-with-docker.yml
									
									
									
									
										vendored
									
									
								
							@@ -2,7 +2,7 @@ name: Python + Docker CI
 | 
				
			|||||||
on:
 | 
					on:
 | 
				
			||||||
  workflow_call:
 | 
					  workflow_call:
 | 
				
			||||||
    inputs:
 | 
					    inputs:
 | 
				
			||||||
      python_version:
 | 
					      python-version:
 | 
				
			||||||
        type: string
 | 
					        type: string
 | 
				
			||||||
        default: "3.11"
 | 
					        default: "3.11"
 | 
				
			||||||
        description: "Version of Python to use for testing environment"
 | 
					        description: "Version of Python to use for testing environment"
 | 
				
			||||||
@@ -16,11 +16,11 @@ jobs:
 | 
				
			|||||||
  ci:
 | 
					  ci:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Set python_version
 | 
					      - name: Set python-version
 | 
				
			||||||
        id: python_version
 | 
					        id: python-version
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          PYTHON_VERSION=${{ github.event.inputs.python_version }}
 | 
					          PYTHON_VERSION=${{ github.event.inputs.python-version }}
 | 
				
			||||||
          echo "::set-output name=value::${PYTHON_VERSION:-"3.11"}"
 | 
					          echo "value=${PYTHON_VERSION:-"3.11"}" >> $GITHUB_OUTPUT
 | 
				
			||||||
      - name: Check out repository code
 | 
					      - name: Check out repository code
 | 
				
			||||||
        uses: actions/checkout@v4.1.7
 | 
					        uses: actions/checkout@v4.1.7
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -34,7 +34,7 @@ jobs:
 | 
				
			|||||||
      - name: Setup Python
 | 
					      - name: Setup Python
 | 
				
			||||||
        uses: actions/setup-python@v5
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: "${{ steps.python_version.outputs.value }}"
 | 
					          python-version: "${{ steps.python-version.outputs.value }}"
 | 
				
			||||||
      - name: Update Pip
 | 
					      - name: Update Pip
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          pip install -U pip
 | 
					          pip install -U pip
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										12
									
								
								.github/workflows/ci-python.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/ci-python.yml
									
									
									
									
										vendored
									
									
								
							@@ -2,7 +2,7 @@ name: Python CI
 | 
				
			|||||||
on:
 | 
					on:
 | 
				
			||||||
  workflow_call:
 | 
					  workflow_call:
 | 
				
			||||||
    inputs:
 | 
					    inputs:
 | 
				
			||||||
      python_version:
 | 
					      python-version:
 | 
				
			||||||
        type: string
 | 
					        type: string
 | 
				
			||||||
        default: "3.11"
 | 
					        default: "3.11"
 | 
				
			||||||
        description: "Version of Python to use for testing environment"
 | 
					        description: "Version of Python to use for testing environment"
 | 
				
			||||||
@@ -16,11 +16,11 @@ jobs:
 | 
				
			|||||||
  ci:
 | 
					  ci:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Set python_version
 | 
					      - name: Set python-version
 | 
				
			||||||
        id: python_version
 | 
					        id: python-version
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          PYTHON_VERSION=${{ github.event.inputs.python_version }}
 | 
					          PYTHON_VERSION=${{ github.event.inputs.python-version }}
 | 
				
			||||||
          echo "::set-output name=value::${PYTHON_VERSION:-"3.11"}"
 | 
					          echo "value=${PYTHON_VERSION:-"3.11"}" >> $GITHUB_OUTPUT
 | 
				
			||||||
      - name: Check out repository code
 | 
					      - name: Check out repository code
 | 
				
			||||||
        uses: actions/checkout@v4.1.7
 | 
					        uses: actions/checkout@v4.1.7
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -28,7 +28,7 @@ jobs:
 | 
				
			|||||||
      - name: Setup Python
 | 
					      - name: Setup Python
 | 
				
			||||||
        uses: actions/setup-python@v5
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: "${{ steps.python_version.outputs.value }}"
 | 
					          python-version: "${{ steps.python-version.outputs.value }}"
 | 
				
			||||||
      - name: Update Pip
 | 
					      - name: Update Pip
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          pip install -U pip
 | 
					          pip install -U pip
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user