Skip to content

Commit 40b4bd0

Browse files
committed
fixes
1 parent 7ce8eff commit 40b4bd0

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,23 @@ jobs:
88

99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212

1313
- name: Define python
14-
run: echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV
14+
run: |
15+
echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV
16+
17+
- name: Echo python version
18+
run: echo PYTHON_VERSION=${{ env.PYTHON_VERSION }}
1519

1620
- name: Install python version
17-
uses: gabrielfalcao/pyenv-action@v11
21+
uses: gabrielfalcao/pyenv-action@v18
1822
with:
1923
default: "${{ env.PYTHON_VERSION }}"
2024
command: pip install -U pip
2125

2226
- name: Show python version
2327
run: python --version
2428

25-
- name: Install dependencies
26-
run: |
27-
pip install pre-commit
28-
pre-commit install
29-
3029
- name: Run pre-commit
31-
run: pre-commit run --all-files
30+
uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)