diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 948d82fb..31796b8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,15 +15,18 @@ jobs: runs-on: "ubuntu-latest" name: Check code quality steps: - - uses: actions/checkout@v4 - - name: Set up uv - # Install latest uv version using the installer - run: curl -LsSf https://astral.sh/uv/install.sh | sh - - name: "Set up Python" + - name: โคต๏ธ Checkout repository + uses: actions/checkout@v4 + + - name: ๐Ÿ— Install uv + uses: astral-sh/setup-uv@v2 + + - name: ๐Ÿ— Set up Python uses: actions/setup-python@v5 with: python-version-file: ".python-version" - - name: Restore uv cache + + - name: ๐Ÿ— Restore uv cache uses: actions/cache@v4 with: path: /tmp/.uv-cache @@ -31,8 +34,10 @@ jobs: restore-keys: | uv-${{ runner.os }}-${{ hashFiles('uv.lock') }} uv-${{ runner.os }} - - name: Install the project + + - name: ๐Ÿ— Install the project run: uv sync --locked --dev + # Following steps cannot run by pre-commit.ci as repo = local - name: Run mypy run: uv run mypy deebot_client/ diff --git a/uv.lock b/uv.lock index e2a6a318..671c7f9a 100644 --- a/uv.lock +++ b/uv.lock @@ -198,7 +198,7 @@ wheels = [ [[package]] name = "deebot-client" -version = "8.4.1.dev0+g14eb03b.d20240910" +version = "8.4.1.dev1+gd96d083.d20240910" source = { editable = "." } dependencies = [ { name = "aiohttp" }, @@ -244,7 +244,7 @@ dev = [ { name = "pre-commit", specifier = "==3.8.0" }, { name = "pycountry", specifier = "==24.6.1" }, { name = "pylint", specifier = "==3.2.7" }, - { name = "pytest", specifier = "==8.3.2" }, + { name = "pytest", specifier = "==8.3.3" }, { name = "pytest-asyncio", specifier = "==0.24.0" }, { name = "pytest-cov", specifier = "==5.0.0" }, { name = "pytest-docker-fixtures", specifier = "==1.3.19" }, @@ -581,7 +581,7 @@ wheels = [ [[package]] name = "pytest" -version = "8.3.2" +version = "8.3.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, @@ -589,9 +589,9 @@ dependencies = [ { name = "packaging" }, { name = "pluggy" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b4/8c/9862305bdcd6020bc7b45b1b5e7397a6caf1a33d3025b9a003b39075ffb2/pytest-8.3.2.tar.gz", hash = "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce", size = 1439314 } +sdist = { url = "https://files.pythonhosted.org/packages/8b/6c/62bbd536103af674e227c41a8f3dcd022d591f6eed5facb5a0f31ee33bbc/pytest-8.3.3.tar.gz", hash = "sha256:70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181", size = 1442487 } wheels = [ - { url = "https://files.pythonhosted.org/packages/0f/f9/cf155cf32ca7d6fa3601bc4c5dd19086af4b320b706919d48a4c79081cf9/pytest-8.3.2-py3-none-any.whl", hash = "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5", size = 341802 }, + { url = "https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl", hash = "sha256:a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2", size = 342341 }, ] [[package]]