Skip to content

Commit fe9bf68

Browse files
committed
fix: post-refactor issues for ci and pre-commit
1 parent f11a9f8 commit fe9bf68

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ jobs:
3737
- uses: actions/checkout@v5
3838
- name: Set up Redis instance and Redis cluster
3939
run: docker compose up -d
40-
- name: Set up Python
41-
uses: actions/setup-python@v6
42-
with:
43-
python-version: "${{ matrix.py_version }}"
4440
- name: Set up uv and enable cache
4541
id: setup-uv
4642
uses: astral-sh/setup-uv@v7
@@ -56,7 +52,7 @@ jobs:
5652
- name: Generate coverage report
5753
run: uv run coverage xml
5854
- name: Upload coverage reports to Codecov with GitHub Action
59-
uses: codecov/codecov-action@v4
55+
uses: codecov/codecov-action@v5
6056
if: matrix.py_version == '3.10'
6157
with:
6258
token: ${{ secrets.CODECOV_TOKEN }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v2.4.0
5+
rev: v6.0.0
66
hooks:
77
- id: check-ast
88
- id: trailing-whitespace
99
- id: check-toml
1010
- id: end-of-file-fixer
1111

1212
- repo: https://github.com/asottile/add-trailing-comma
13-
rev: v2.1.0
13+
rev: v4.0.0
1414
hooks:
1515
- id: add-trailing-comma
1616

0 commit comments

Comments
 (0)