Skip to content

Commit 1e88411

Browse files
committed
Update GitHub workflows
1 parent 8ed844e commit 1e88411

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
python-version: ${{ fromJson(vars.PYTHON_VERSIONS) }}
1818

1919
steps:
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@v6
2121

2222
- name: Setup uv
2323
uses: astral-sh/setup-uv@v7
@@ -28,16 +28,14 @@ jobs:
2828
- name: Install dependencies
2929
run: uv sync
3030

31+
- name: Check line length violations with ruff
32+
run: uv run ruff check --select=E501 --exit-zero
33+
3134
- name: Lint with ruff
32-
run: |
33-
# Stop the build if the ruff check fails, except for line length check (E501)
34-
uv run ruff check --ignore=E501
35-
# Show line length violation warnings
36-
uv run ruff check --exit-zero
35+
run: uv run ruff check --ignore=E501
3736

3837
- name: Run tests
39-
run: |
40-
uv run pytest --cov
38+
run: uv run pytest --cov
4139

4240
- name: Upload results to Codecov
4341
uses: codecov/codecov-action@v5

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id-token: write
1717

1818
steps:
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@v6
2020

2121
- name: Install the latest version of uv
2222
uses: astral-sh/setup-uv@v7

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
id-token: write
1616

1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1919

2020
- name: Install the latest version of uv
2121
uses: astral-sh/setup-uv@v7

0 commit comments

Comments
 (0)