Skip to content

Commit

Permalink
feat: update dependencies
Browse files Browse the repository at this point in the history
BREAKING CHANGE: update to python 3.11
  • Loading branch information
muhlba91 committed Mar 2, 2023
1 parent 501bff5 commit 08fea02
Show file tree
Hide file tree
Showing 8 changed files with 1,220 additions and 846 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- main
- next
schedule:
- cron: '32 5 * * 1'
- cron: "32 5 * * 1"

jobs:
analyze:
Expand All @@ -21,23 +21,23 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
python-version: [ '3.10' ]
language: ["python"]
python-version: ["3.11"]

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [ 3.9 ]
poetry-version: [ 1.1.13 ]
python-version: [3.11]
poetry-version: [1.4.0]

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry ${{ matrix.poetry-version }}
uses: abatilo/actions-poetry@v2.1.0
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}

- name: Cache Poetry
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-poetry
with:
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -88,16 +88,16 @@ jobs:
strategy:
max-parallel: 4
matrix:
node-version: [ 16 ]
node-version: [16]

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
bodyFile: "release-CHANGELOG.md"
name: '${{ env.TAG_NAME }}'
tag: '${{ env.TAG_NAME }}'
token: '${{ secrets.GITHUB_TOKEN }}'
name: "${{ env.TAG_NAME }}"
tag: "${{ env.TAG_NAME }}"
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: ${{ github.ref == 'refs/heads/next' }}
28 changes: 14 additions & 14 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [ '3.10' ]
poetry-version: [ 1.1.13 ]
python-version: ["3.11"]
poetry-version: [1.4.0]

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry ${{ matrix.poetry-version }}
uses: abatilo/actions-poetry@v2.1.0
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Set up Snyk
uses: snyk/actions/setup@master

- name: Cache Poetry
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-poetry
with:
Expand All @@ -56,7 +56,7 @@ jobs:
snyk test --package-manager=poetry --fail-on=all --severity-threshold=medium --remote-repo-url=${{ github.server_url }}/${{ github.repository }} --sarif-file-output=snyk.sarif
- name: Upload to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk.sarif

Expand All @@ -67,26 +67,26 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [ 3.9, '3.10' ]
poetry-version: [ 1.1.13 ]
python-version: [3.11]
poetry-version: [1.4.0]

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry ${{ matrix.poetry-version }}
uses: abatilo/actions-poetry@v2.1.0
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}

- name: Cache Poetry
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-poetry
with:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 23.1.0
hooks:
- id: black
language_version: python3
Expand All @@ -11,13 +11,13 @@ repos:
- id: flakehell
language_version: python3
- repo: https://github.com/talos-systems/conform
rev: v0.1.0-alpha.26
rev: v0.1.0-alpha.27
hooks:
- id: conform
stages:
- commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-json
- id: check-merge-conflict
Expand Down
4 changes: 2 additions & 2 deletions custom_components/hella_onyx/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"documentation": "https://github.com/muhlba91/onyx-homeassistant-integration",
"issue_tracker": "https://github.com/muhlba91/onyx-homeassistant-integration/issues",
"requirements": [
"onyx-client==4.0.1"
"onyx-client==5.0.1"
],
"ssdp": [],
"zeroconf": [],
Expand All @@ -16,4 +16,4 @@
],
"iot_class": "cloud_polling",
"version": "3.0.0"
}
}
4 changes: 2 additions & 2 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Hella ONYX.CENTER",
"homeassistant": "2022.7.0",
"homeassistant": "2023.3.0",
"render_readme": true
}
}
Loading

0 comments on commit 08fea02

Please sign in to comment.