diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 0034ba8..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,56 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: CI - -on: - push: - branches: - - main - pull_request: ~ - schedule: - - cron: "0 0 * * *" - -env: - DEFAULT_PYTHON: "3.11" - -jobs: - validate-hacs: - runs-on: "ubuntu-latest" - name: Validate with HACS - steps: - - uses: "actions/checkout@v4" - - - name: HACS validation - uses: "hacs/action@main" - with: - category: "integration" - - validate-hassfest: - runs-on: "ubuntu-latest" - name: Validate with Hassfest - steps: - - uses: "actions/checkout@v4" - - - name: Hassfest validation - uses: "home-assistant/actions/hassfest@master" - - code-quality: - runs-on: "ubuntu-latest" - name: Check code quality - steps: - - uses: "actions/checkout@v4" - - name: Set up Python ${{ env.DEFAULT_PYTHON }} - id: python - uses: actions/setup-python@v5 - with: - python-version: ${{ env.DEFAULT_PYTHON }} - cache: "pip" - - name: Install dependencies - run: | - pip install -r requirements.txt - # Following steps cannot run by pre-commit.ci as repo = local - - name: Run mypy - run: mypy custom_components/ - - name: Pylint review - run: pylint custom_components/ \ No newline at end of file diff --git a/custom_components/garmin_connect/manifest.json b/custom_components/garmin_connect/manifest.json index ff83975..15792f9 100644 --- a/custom_components/garmin_connect/manifest.json +++ b/custom_components/garmin_connect/manifest.json @@ -7,6 +7,6 @@ "documentation": "https://github.com/cyberjunky/home-assistant-garmin_connect", "iot_class": "cloud_polling", "issue_tracker": "https://github.com/cyberjunky/home-assistant-garmin_connect/issues", - "requirements": ["garminconnect>=0.2.15", "tzlocal"], - "version": "0.2.19" + "requirements": ["garminconnect>=0.2.22", "tzlocal"], + "version": "0.2.20" } diff --git a/requirements.txt b/requirements.txt index c737e27..02473ea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ colorlog==6.8.2 homeassistant==2024.1.0 -pip>=21.0,<24.1 +pip>=24.1.1,<24.2 ruff==0.5.0 -mypy==1.8.0 -pre-commit==3.6.0 +mypy==1.10.1 +pre-commit==3.7.1 pylint==3.0.3 types-cachetools \ No newline at end of file diff --git a/requirements_lint.txt b/requirements_lint.txt index be40139..aaf5441 100644 --- a/requirements_lint.txt +++ b/requirements_lint.txt @@ -1,3 +1,3 @@ -r requirements.txt -pre-commit==3.7.0 +pre-commit==3.7.1 vulture==2.11 \ No newline at end of file