Skip to content

Commit

Permalink
Use python-version instead of deprecated version
Browse files Browse the repository at this point in the history
It's deprecated since actions/setup-python@6f6fcee.
  • Loading branch information
atugushev authored and xavfernandez committed Oct 12, 2019
1 parent 7e11e25 commit 8c66447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python ${{ matrix.env.PYTHON_VERSION || 3.7 }}
uses: actions/setup-python@v1
with:
version: ${{ matrix.env.PYTHON_VERSION || 3.7 }}
python-version: ${{ matrix.env.PYTHON_VERSION || 3.7 }}
- name: Pre-configure global Git settings
run: >-
tools/travis/setup.sh
Expand Down
1 change: 1 addition & 0 deletions news/fix-deprecated-version-key.trivial
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use ``python-version`` instead of deprecated ``version``.

0 comments on commit 8c66447

Please sign in to comment.