From b2f7d2a1009f4a06eace7d63d4f506ed80fe7448 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 28 Nov 2024 21:39:34 +0000 Subject: [PATCH] replace python_version with python-version --- .github/workflows/ci-python-poetry-with-docker.yml | 12 ++++++------ .github/workflows/ci-python-poetry.yml | 12 ++++++------ .github/workflows/ci-python-with-docker.yml | 12 ++++++------ .github/workflows/ci-python.yml | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci-python-poetry-with-docker.yml b/.github/workflows/ci-python-poetry-with-docker.yml index 620d537..4596e5d 100644 --- a/.github/workflows/ci-python-poetry-with-docker.yml +++ b/.github/workflows/ci-python-poetry-with-docker.yml @@ -2,7 +2,7 @@ name: Python w/ Poetry + Docker CI on: workflow_call: inputs: - python_version: + python-version: type: string default: "3.11" description: "Version of Python to use for testing environment" @@ -16,11 +16,11 @@ jobs: ci: runs-on: ubuntu-latest steps: - - name: Set python_version - id: python_version + - name: Set python-version + id: python-version run: | - PYTHON_VERSION=${{ github.event.inputs.python_version }} - echo "::set-output name=value::${PYTHON_VERSION:-"3.11"}" + PYTHON_VERSION=${{ github.event.inputs.python-version }} + echo "value=${PYTHON_VERSION:-"3.11"}" >> $GITHUB_OUTPUT - name: Check out repository code uses: actions/checkout@v4.1.7 with: @@ -34,7 +34,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "${{ steps.python_version.outputs.value }}" + python-version: "${{ steps.python-version.outputs.value }}" - name: Setup Poetry uses: abatilo/actions-poetry@v3 - name: Install dependencies diff --git a/.github/workflows/ci-python-poetry.yml b/.github/workflows/ci-python-poetry.yml index 54d4700..9bf1dba 100644 --- a/.github/workflows/ci-python-poetry.yml +++ b/.github/workflows/ci-python-poetry.yml @@ -2,7 +2,7 @@ name: Python w/ Poetry CI on: workflow_call: inputs: - python_version: + python-version: type: string default: "3.11" description: "Version of Python to use for testing environment" @@ -16,11 +16,11 @@ jobs: ci: runs-on: ubuntu-latest steps: - - name: Set python_version - id: python_version + - name: Set python-version + id: python-version run: | - PYTHON_VERSION=${{ github.event.inputs.python_version }} - echo "::set-output name=value::${PYTHON_VERSION:-"3.11"}" + PYTHON_VERSION=${{ github.event.inputs.python-version }} + echo "value=${PYTHON_VERSION:-"3.11"}" >> $GITHUB_OUTPUT - name: Check out repository code uses: actions/checkout@v4.1.7 with: @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "${{ steps.python_version.outputs.value }}" + python-version: "${{ steps.python-version.outputs.value }}" - name: Setup Poetry uses: abatilo/actions-poetry@v3 - name: Install dependencies diff --git a/.github/workflows/ci-python-with-docker.yml b/.github/workflows/ci-python-with-docker.yml index 96e2b2e..ffe7618 100644 --- a/.github/workflows/ci-python-with-docker.yml +++ b/.github/workflows/ci-python-with-docker.yml @@ -2,7 +2,7 @@ name: Python + Docker CI on: workflow_call: inputs: - python_version: + python-version: type: string default: "3.11" description: "Version of Python to use for testing environment" @@ -16,11 +16,11 @@ jobs: ci: runs-on: ubuntu-latest steps: - - name: Set python_version - id: python_version + - name: Set python-version + id: python-version run: | - PYTHON_VERSION=${{ github.event.inputs.python_version }} - echo "::set-output name=value::${PYTHON_VERSION:-"3.11"}" + PYTHON_VERSION=${{ github.event.inputs.python-version }} + echo "value=${PYTHON_VERSION:-"3.11"}" >> $GITHUB_OUTPUT - name: Check out repository code uses: actions/checkout@v4.1.7 with: @@ -34,7 +34,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "${{ steps.python_version.outputs.value }}" + python-version: "${{ steps.python-version.outputs.value }}" - name: Update Pip run: | pip install -U pip diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 732b08d..413ab2c 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -2,7 +2,7 @@ name: Python CI on: workflow_call: inputs: - python_version: + python-version: type: string default: "3.11" description: "Version of Python to use for testing environment" @@ -16,11 +16,11 @@ jobs: ci: runs-on: ubuntu-latest steps: - - name: Set python_version - id: python_version + - name: Set python-version + id: python-version run: | - PYTHON_VERSION=${{ github.event.inputs.python_version }} - echo "::set-output name=value::${PYTHON_VERSION:-"3.11"}" + PYTHON_VERSION=${{ github.event.inputs.python-version }} + echo "value=${PYTHON_VERSION:-"3.11"}" >> $GITHUB_OUTPUT - name: Check out repository code uses: actions/checkout@v4.1.7 with: @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "${{ steps.python_version.outputs.value }}" + python-version: "${{ steps.python-version.outputs.value }}" - name: Update Pip run: | pip install -U pip