-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
5 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,24 +8,13 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Define python | ||
run: echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV | ||
|
||
- name: Install python version | ||
uses: gabrielfalcao/pyenv-action@v11 | ||
with: | ||
default: "${{ env.PYTHON_VERSION }}" | ||
command: pip install -U pip | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 # defaults to .python-version | ||
|
||
- name: Show python version | ||
run: python --version | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install pre-commit | ||
pre-commit install | ||
- name: Run pre-commit | ||
run: pre-commit run --all-files | ||
uses: pre-commit/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters