Skip to content

Sync Python checking CI workflow with template #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Aug 2, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use workflow variable to set Python version in "Check Python" workflow
This will make version bumps easy, especially as additional jobs are added to the workflow
  • Loading branch information
per1234 committed Aug 2, 2021
commit 5d6592428956fafb93ff5743526b9b81251a153a
6 changes: 5 additions & 1 deletion .github/workflows/check-python-task.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Check Python

env:
# See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
PYTHON_VERSION: "3.8"

on:
push:
paths:
Expand Down Expand Up @@ -31,7 +35,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Poetry
run: pip install poetry
Expand Down