Skip to content

Commit

Permalink
Change: Always use Python 3.10 as default
Browse files Browse the repository at this point in the history
We should use an up to date Python version for all our actions as
default.
  • Loading branch information
bjoernricks committed May 4, 2023
1 parent 9802104 commit c4c52c0
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backport-pull-request/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@main
with:
version: ${{ inputs.python-version }}
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
working-directory: ${{ github.action_path }}
without-dev: "true"
Expand Down
2 changes: 1 addition & 1 deletion conventional-commits/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@main
with:
version: ${{ inputs.python-version }}
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
working-directory: ${{ github.action_path }}
without-dev: "true"
Expand Down
1 change: 1 addition & 0 deletions coverage-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ inputs:
deprecationMessage: "version input is deprecated. Please use `python-version` input instead."
python-version:
description: "Python version that should be installed"
default: "3.10"
test-command:
description: "Command to run the tests"
required: true
Expand Down
2 changes: 1 addition & 1 deletion download-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ runs:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@main
with:
version: ${{ inputs.python-version }}
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
working-directory: ${{ github.action_path }}
without-dev: "true"
Expand Down
2 changes: 1 addition & 1 deletion helm-version-upgrade/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@v2
with:
version: ${{ inputs.python-version }}
python-version: ${{ inputs.python-version }}
working-directory: ${{ github.action_path }}
without-dev: "true"
poetry-version: ${{ inputs.poetry-version }}
Expand Down
1 change: 1 addition & 0 deletions lint-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ inputs:
deprecationMessage: "version input is deprecated. Please use `python-version` input instead."
python-version:
description: "Python version that should be installed"
default: "3.10"
poetry-version:
description: "Use a specific poetry version. By default the latest release is used."
cache:
Expand Down
1 change: 1 addition & 0 deletions mypy-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ inputs:
deprecationMessage: "version input is deprecated. Please use `python-version` input instead."
python-version:
description: "Python version that should be installed"
default: "3.10"
poetry-version:
description: "Use a specific poetry version. By default the latest release is used."
cache:
Expand Down
2 changes: 1 addition & 1 deletion poetry/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
description: "Use a specific poetry version. By default the latest release is used."
python-version:
description: "Python version that should be installed and used."
default: "3.9"
default: "3.10"
branding:
icon: "package"
color: "green"
Expand Down
2 changes: 1 addition & 1 deletion trigger-workflow/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@main
with:
version: ${{ inputs.python-version }}
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
working-directory: ${{ github.action_path }}
without-dev: "true"
Expand Down
2 changes: 1 addition & 1 deletion update-header/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
- name: Set up Poetry, python and the project
uses: greenbone/actions/poetry@v2
with:
version: ${{ inputs.python-version }}
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
- name: Virtual Environment
id: virtualenv
Expand Down

0 comments on commit c4c52c0

Please sign in to comment.