Skip to content

Commit 76afb84

Browse files
authored
Merge branch 'DeebotUniverse:dev' into dev
2 parents ce0792e + 0ad0fdf commit 76afb84

45 files changed

Lines changed: 2200 additions & 487 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ categories:
2020
label: "pr: bugfix"
2121

2222
- title: ":arrow_up: Dependency Updates"
23+
collapse-after: 0
2324
labels:
2425
- "pr: dependency-update"
2526
- "dependencies"

.github/workflows/ci.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ jobs:
5757
echo "python_versions: ${all_python_versions}"
5858
echo "python_versions=${all_python_versions}" >> $GITHUB_OUTPUT
5959
- name: 🏗 Install uv
60-
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
60+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
6161
- name: Generate requirements files
6262
run: |
6363
uv export --no-hashes --no-dev --group test --no-emit-project > requirements-test.txt
6464
uv export --no-hashes --group dev --no-emit-project > requirements-dev.txt
6565
- name: Upload requirements-test.txt
66-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
66+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6767
with:
6868
name: requirements-test.txt
6969
path: requirements-test.txt
7070
- name: Upload requirements-dev.txt
71-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
71+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7272
with:
7373
name: requirements-dev.txt
7474
path: requirements-dev.txt
@@ -85,9 +85,9 @@ jobs:
8585
id: setup-python
8686

8787
- name: 🏗 Install uv and Python
88-
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
88+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
8989

90-
- uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c # v1.15.2
90+
- uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16
9191
with:
9292
cache-key: ${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('Cargo.lock') }}
9393

@@ -111,12 +111,12 @@ jobs:
111111
steps:
112112
- name: ⤵️ Checkout repository
113113
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
114-
- uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c # v1.15.2
114+
- uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16
115115
with:
116116
components: rustfmt,clippy
117117
- name: Rust format
118118
uses: actions-rust-lang/rustfmt@4066006ec54a31931b9b1fddfd38f2fdf2d27143 # v1.1.2
119-
- uses: clechasseur/rs-clippy-check@286fd9545eb133adad54b4af34bcb642e266ddd1 # v5.0.2
119+
- uses: clechasseur/rs-clippy-check@1e16925ceec49b64803a6abc5f6bbe79044c3bd4 # v6.0.4
120120
with:
121121
args: --all-features
122122

@@ -127,7 +127,7 @@ jobs:
127127
- name: ⤵️ Checkout repository
128128
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
129129
- name: Run prek
130-
uses: j178/prek-action@0bb87d7f00b0c99306c8bcb8b8beba1eb581c037 # v1.1.1
130+
uses: j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4
131131
env:
132132
PREK_SKIP: no-commit-to-branch,mypy,verifyNoGetLogger,rust-fmt,rust-check,rust-clippy
133133

@@ -151,15 +151,15 @@ jobs:
151151
python-version: ${{ matrix.python-version }}
152152
id: setup-python
153153
- name: 🏗 Install uv and Python
154-
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
155-
- uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c # v1.15.2
154+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
155+
- uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16
156156
with:
157157
components: llvm-tools
158158
cache-key: ${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('Cargo.lock') }}
159159
- name: Install cargo-llvm-cov
160160
run: cargo install cargo-llvm-cov
161161
- name: Download requirements-dev.txt
162-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
162+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
163163
with:
164164
name: requirements-dev.txt
165165
- name: Prepare env and install requirements
@@ -180,15 +180,15 @@ jobs:
180180
pytest tests -n auto --cov=deebot_client --cov-report xml --junitxml=junit.xml -o junit_family=legacy -v
181181
cargo llvm-cov report --lcov --output-path coverage.lcov
182182
- name: Upload coverage to Codecov
183-
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
183+
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
184184
with:
185185
fail_ci_if_error: true
186186
disable_telem: true
187187
use_oidc: true
188188
files: coverage.lcov,coverage.xml
189189
- name: Upload test results to Codecov
190190
if: ${{ !cancelled() && steps.tests.outcome == 'success' }}
191-
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
191+
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
192192
with:
193193
fail_ci_if_error: true
194194
disable_telem: true
@@ -241,22 +241,22 @@ jobs:
241241
run: |
242242
(Get-Content pyproject.toml) -replace 'version = ".*"', 'version = "${{ github.event.release.tag_name }}"' | Set-Content pyproject.toml
243243
- name: Build wheels
244-
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
244+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
245245
with:
246246
target: ${{ matrix.platform.target }}
247247
args: --release --strip --out dist -i python${{ matrix.python-version }}
248248
sccache: "false"
249249
manylinux: ${{ matrix.manylinux }}
250250
before-script-linux: python3 -m ensurepip
251251
- name: Upload wheels
252-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
252+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
253253
with:
254254
name: wheels-${{ matrix.platform.name }}-${{ matrix.platform.target }}-${{ matrix.python-version }}
255255
path: dist
256256
- name: 🏗 Install uv
257-
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
257+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
258258
- name: Download requirements-test.txt
259-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
259+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
260260
with:
261261
name: requirements-test.txt
262262
- name: Prepare env and install wheel
@@ -311,25 +311,25 @@ jobs:
311311
run: |
312312
sed -i "s/^version = \".*\"/version = \"${{ github.event.release.tag_name }}\"/" pyproject.toml
313313
- name: Build wheels
314-
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
314+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
315315
with:
316316
target: ${{ matrix.target }}
317317
args: --release --strip --out dist -i python${{ matrix.python-version }}
318318
sccache: "false"
319319
manylinux: musllinux_1_2
320320
- name: Upload wheels
321-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
321+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
322322
with:
323323
name: wheels-musllinux-${{ matrix.target }}-${{ matrix.python-version }}
324324
path: dist
325325
- name: Download requirements-test.txt
326-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
326+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
327327
with:
328328
name: requirements-test.txt
329329
- name: Install Docker Buildx
330-
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
330+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
331331
- name: Build image
332-
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
332+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
333333
with:
334334
context: .
335335
file: ci/Dockerfile.alpine
@@ -357,13 +357,13 @@ jobs:
357357
- name: ⤵️ Checkout repository
358358
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
359359
- name: 🏗 Install uv
360-
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
360+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
361361
- name: 🏗 Setup Python
362362
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
363363
with:
364364
python-version: ${{ needs.info.outputs.default_python_version }}
365365
- name: Download requirements-dev.txt
366-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
366+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
367367
with:
368368
name: requirements-dev.txt
369369
- name: 🏗 Install the project
@@ -375,7 +375,7 @@ jobs:
375375
run: |
376376
rm -rf deebot_client/
377377
- name: Run benchmarks
378-
uses: CodSpeedHQ/action@4deb3275dd364fb96fb074c953133d29ec96f80f # v4.10.6
378+
uses: CodSpeedHQ/action@3194d9a39c4d46684cb44bf7207fc56626aad8fd # v4.15.1
379379
with:
380380
run: pytest tests/ --codspeed
381381
mode: instrumentation
@@ -388,15 +388,15 @@ jobs:
388388
- name: ⤵️ Check out code from GitHub
389389
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
390390
- name: 🏗 Set up uv
391-
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
391+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
392392
- name: 🏗 Set package version
393393
if: ${{ github.event_name == 'release' }}
394394
run: |
395395
sed -i "s/^version = \".*\"/version = \"${{ github.event.release.tag_name }}\"/" pyproject.toml
396396
- name: 📦 Build source package
397397
run: uv build --sdist
398398
- name: Upload sdist
399-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
399+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
400400
with:
401401
name: wheels-sdist
402402
path: dist
@@ -419,18 +419,18 @@ jobs:
419419
- name: ⤵️ Check out code from GitHub
420420
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
421421
- name: ⬇️ Download wheels
422-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
422+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
423423
with:
424424
pattern: wheels-*
425425
path: dist
426426
merge-multiple: true
427427
- name: 🚀 Publish to PyPi
428-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
428+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
429429
with:
430430
verbose: true
431431
print-hash: true
432432
- name: ✍️ Sign published artifacts
433-
uses: sigstore/gh-action-sigstore-python@a5caf349bc536fbef3668a10ed7f5cd309a4b53d # v3.2.0
433+
uses: sigstore/gh-action-sigstore-python@04cffa1d795717b140764e8b640de88853c92acc # v3.3.0
434434
with:
435435
inputs: ./dist/*.tar.gz ./dist/*.whl
436436
release-signing-artifacts: true

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
47+
uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
- name: Autobuild
58-
uses: github/codeql-action/autobuild@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
58+
uses: github/codeql-action/autobuild@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
6969
# make release
7070

7171
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
72+
uses: github/codeql-action/analyze@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
permissions:
1616
contents: write
1717
steps:
18-
- uses: release-drafter/release-drafter@6db134d15f3909ccc9eefd369f02bd1e9cffdf97 # v6.2.0
18+
- uses: release-drafter/release-drafter@693d20e7c1ce1a81d3a41962f85914253b518449 # v7.3.1
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6565
# format to the repository Actions tab.
6666
- name: "Upload artifact"
67-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
67+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6868
with:
6969
name: SARIF file
7070
path: results.sarif
@@ -73,6 +73,6 @@ jobs:
7373
# Upload the results to GitHub's code scanning dashboard (optional).
7474
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7575
- name: "Upload to code-scanning"
76-
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
76+
uses: github/codeql-action/upload-sarif@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
7777
with:
7878
sarif_file: results.sarif

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.15.2
3+
rev: v0.15.14
44
hooks:
55
- id: ruff-check
66
args:
77
- --fix
88
- --unsafe-fixes
99
- id: ruff-format
1010
- repo: https://github.com/codespell-project/codespell
11-
rev: v2.4.1
11+
rev: v2.4.2
1212
hooks:
1313
- id: codespell
1414
args:
@@ -43,12 +43,12 @@ repos:
4343
# name: Rust clippy
4444
# language: rust
4545
- repo: https://github.com/rbubley/mirrors-prettier
46-
rev: v3.8.1
46+
rev: v3.8.3
4747
hooks:
4848
- id: prettier
4949
language: node
5050
additional_dependencies:
51-
- prettier@3.8.1
51+
- prettier@3.8.3
5252
- prettier-plugin-sort-json@4.2.0
5353
exclude_types:
5454
- python

0 commit comments

Comments
 (0)