Skip to content

Commit

Permalink
Change: Resolve deprecation warnings in GitHub workflows
Browse files Browse the repository at this point in the history
Use python-version input instead of version
  • Loading branch information
bjoernricks committed May 4, 2023
1 parent 67001ab commit 2ed6fc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: greenbone/actions/lint-python@v2
with:
packages: pontos tests scripts
version: ${{ matrix.python-version }}
python-version: ${{ matrix.python-version }}
cache: "true"

test:
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Install python, poetry and dependencies
uses: greenbone/actions/poetry@v2
with:
version: ${{ matrix.python-version }}
python-version: ${{ matrix.python-version }}
cache: "true"
cache-poetry-installation: "true"
- name: Run unit tests
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Install and calculate and upload coverage to codecov.io
uses: greenbone/actions/coverage-python@v2
with:
version: "3.10"
python-version: "3.10"
cache: "true"
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: greenbone/actions/poetry@v2
with:
version: "3.10"
python-version: "3.10"
install-dependencies: "false"
cache-poetry-installation: "true"
- name: Build and publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install poetry and dependencies
uses: greenbone/actions/poetry@v2
with:
version: "3.10"
python-version: "3.10"
cache: "true"
cache-poetry-installation: "true"
- name: Build Documentation
Expand Down

0 comments on commit 2ed6fc6

Please sign in to comment.