Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
YuryHrytsuk committed Jan 9, 2025
1 parent 7ce8eff commit 40b4bd0
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 40b4bd0

Please sign in to comment.