Skip to content

Commit 6bd54af

Browse files
authored
Use community-workflow (#17)
* Use community-workflow * Add missing just recipe * Fix just lint-ci
1 parent 4c64993 commit 6bd54af

File tree

4 files changed

+25
-61
lines changed

4 files changed

+25
-61
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/workflow.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI Pipeline
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
release:
11+
types:
12+
- published
13+
14+
jobs:
15+
ci:
16+
uses: community-of-python/community-workflow/.github/workflows/preset.yml@main
17+
with:
18+
python-version: '["3.10","3.11","3.12","3.13"]'
19+
secrets: inherit

Justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ lint:
1010
uv run --group lint ruff format
1111
uv run --group lint mypy .
1212

13+
lint-ci:
14+
uv run --group lint ruff format --check
15+
uv run --group lint auto-typing-final .
16+
uv run --group lint ruff check --no-fix
17+
uv run --group lint mypy .
18+
1319
test *args:
1420
uv run pytest {{ args }}
1521

0 commit comments

Comments
 (0)