Skip to content

Update to qestdb 2.0.3 API #81

Update to qestdb 2.0.3 API

Update to qestdb 2.0.3 API #81

Workflow file for this run

name: Check versions
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- created
jobs:
check-versions:
name: Check-versions
strategy:
matrix:
python-version: [3.11]
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: ⚙️ Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.5.1
- name: ⚙️ Install dependencies
run: poetry install
- name: 🚀 Check Manifest.json
run: |
pyproject_version=$(poetry version | awk '{print $2}')
echo "pyproject.toml version: $pyproject_version"
manifest_version=$(jq -r '.version' custom_components/qss/manifest.json)
echo "manifest.json version: $manifest_version"
if [[ "$pyproject_version" != "$manifest_version" ]]; then
echo "Error: Version mismatch between pyproject.toml ($pyproject_version) and manifest.json ($manifest_version)"
exit 1
fi