diff --git a/.github/workflows/dependency-update-check.yml b/.github/workflows/dependency-update-check.yml deleted file mode 100644 index 517b8432a..000000000 --- a/.github/workflows/dependency-update-check.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Dependency update checker - -on: - push: - branches: - - v* - - dev/* -# # For dev/testing only -# pull_request: ~ - -jobs: - check: - name: 'Dependency update check' - runs-on: ubuntu-latest - timeout-minutes: 10 # Don't run forever when stale - strategy: - matrix: - python-version: - - '3.10' - - steps: - - uses: actions/checkout@v3 - - - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install OS packages - run: | - sudo apt-get update - sudo apt install -y gettext libgettextpo-dev libmariadb-dev-compat libmariadb-dev - pip install --upgrade pip poetry - - - name: Cached dependencies & virtualenv - uses: actions/cache@v3 - with: - path: | - ~/.cache/pypoetry/ - ~/dsmr-reader/dsmr-reader/.venv - key: dependencies-update-check-${{ hashFiles('poetry.lock') }} - - - name: Check & install Poetry dependencies - run: | - poetry config virtualenvs.in-project true - poetry check - poetry install - - - name: Check for Poetry dependency updates - run: | - poetry update --dry-run --no-ansi | grep "Package operations: 0 installs, 0 updates, 0 removals" && exit 0 - - poetry update --dry-run | grep -v "Skipped" - exit 1