Skip to content

Commit

Permalink
chore(workflows): explicitly use python-version
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch committed Jun 27, 2022
1 parent 77c1f03 commit eb14475
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Expand Up @@ -26,6 +26,8 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install --upgrade tox
- name: Run commitizen (https://commitizen-tools.github.io/commitizen/)
run: tox -e cz
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pre_commit.yml
Expand Up @@ -31,6 +31,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install --upgrade -r requirements.txt -r requirements-lint.txt pre-commit
- name: Run pre-commit install
run: pre-commit install
Expand Down

0 comments on commit eb14475

Please sign in to comment.