forked from ITISFoundation/osparc-ops-environments
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ce8eff
commit 40b4bd0
Showing
1 changed file
with
8 additions
and
9 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,23 @@ 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 | ||
run: | | ||
echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV | ||
- name: Echo python version | ||
run: echo PYTHON_VERSION=${{ env.PYTHON_VERSION }} | ||
|
||
- name: Install python version | ||
uses: gabrielfalcao/pyenv-action@v11 | ||
uses: gabrielfalcao/pyenv-action@v18 | ||
with: | ||
default: "${{ env.PYTHON_VERSION }}" | ||
command: pip install -U pip | ||
|
||
- 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] |