Skip to content

Commit 981b3d3

Browse files
authored
Added autoversioning. (#610)
1 parent dc23835 commit 981b3d3

7 files changed

Lines changed: 177 additions & 192 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,18 @@ jobs:
1515
env:
1616
UV_SYSTEM_PYTHON: 1
1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1919
with:
2020
persist-credentials: false
21-
- name: Setup python
22-
uses: actions/setup-python@v6
23-
with:
24-
python-version: '3.14'
21+
fetch-depth: 0
2522
- id: setup-uv
2623
name: Setup UV
2724
uses: astral-sh/setup-uv@v7
2825
with:
2926
enable-cache: true
30-
cache-suffix: '3.14'
27+
cache-suffix: "3.13"
3128
github-token: ${{ github.token }}
32-
version: "3.14"
33-
- run: uv version "${GITHUB_REF_NAME}"
29+
python-version: "3.13"
3430
- run: uv build
3531
- name: Release package
3632
env:

.github/workflows/release_docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
deploy_docs:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
with:
1818
persist-credentials: false
1919
fetch-depth: 0

.github/workflows/test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ jobs:
2222
cmd: ["black", "ruff", "mypy"]
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
with:
2727
persist-credentials: false
28+
fetch-depth: 0
2829
- id: setup-uv
2930
uses: astral-sh/setup-uv@v7
3031
with:
@@ -43,23 +44,19 @@ jobs:
4344
pydantic_ver: ["<2", ">=2.5,<3"]
4445
os: [ubuntu-latest, windows-latest, macos-latest]
4546
runs-on: "${{ matrix.os }}"
46-
env:
47-
UV_SYSTEM_PYTHON: 1
4847
steps:
49-
- uses: actions/checkout@v5
48+
- uses: actions/checkout@v6
5049
with:
5150
persist-credentials: false
52-
- name: Setup python
53-
uses: actions/setup-python@v6
54-
with:
55-
python-version: '${{ matrix.py_version }}'
51+
fetch-depth: 0
5652
- id: setup-uv
5753
name: Setup UV
5854
uses: astral-sh/setup-uv@v7
5955
with:
6056
enable-cache: true
6157
cache-suffix: ${{ matrix.py_version }}
6258
github-token: ${{ github.token }}
59+
python-version: '${{ matrix.py_version }}'
6360
version: "latest"
6461
- name: Install deps
6562
run: uv sync --all-extras

docs/guide/message-format.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ After that, you can use your preferred serializer in your project like this:
114114

115115
```python
116116
from taskiq import InMemoryBroker
117-
from taskiq.serializers import ORJSONSerializer
117+
from taskiq.serializers import ORJSONSerializer
118118

119119
broker = InMemoryBroker().with_serializer(ORJSONSerializer())
120120
```
@@ -123,7 +123,7 @@ broker = InMemoryBroker().with_serializer(ORJSONSerializer())
123123

124124
```python
125125
from taskiq import InMemoryBroker
126-
from taskiq.serializers import MSGPackSerializer
126+
from taskiq.serializers import MSGPackSerializer
127127

128128
broker = InMemoryBroker().with_serializer(MSGPackSerializer())
129129
```
@@ -132,7 +132,7 @@ broker = InMemoryBroker().with_serializer(MSGPackSerializer())
132132

133133
```python
134134
from taskiq import InMemoryBroker
135-
from taskiq.serializers import CBORSerializer
135+
from taskiq.serializers import CBORSerializer
136136

137137
broker = InMemoryBroker().with_serializer(CBORSerializer())
138138
```

0 commit comments

Comments
 (0)