diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 7e11d7e..092407f 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -78,7 +78,7 @@ jobs: echo "::set-output name=dir::$(pip cache dir)" - name: Restore cached Python PIP packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.pip-cache.outputs.dir }} key: pip-${{ runner.os }}-v1-${{ steps.python.outputs.python-version }}-${{ hashFiles('.github/workflows/requirements.txt') }} @@ -93,7 +93,7 @@ jobs: - name: Restore cached Python virtual environment id: cached-poetry-dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .venv key: >- diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9437a6b..51b66ff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,7 +27,7 @@ jobs: echo "::set-output name=dir::$(pip cache dir)" - name: Restore cached Python PIP packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.pip-cache.outputs.dir }} key: pip-${{ runner.os }}-v1-${{ steps.python.outputs.python-version }}-${{ hashFiles('.github/workflows/requirements.txt') }} @@ -42,7 +42,7 @@ jobs: - name: Restore cached Python virtual environment id: cached-poetry-dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .venv key: >- diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1d13b53..aacb271 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -45,7 +45,7 @@ jobs: run: poetry run pytest --cov homewizard_energy tests - name: Upload coverage artifact - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: coverage-${{ matrix.python }}-${{ matrix.os }} include-hidden-files: true @@ -61,7 +61,7 @@ jobs: fetch-depth: 0 - name: Download coverage data - uses: actions/download-artifact@v6 + uses: actions/download-artifact@v7 - name: 🏗 Set up Poetry run: pipx install poetry @@ -81,7 +81,7 @@ jobs: - name: Restore cached Python virtual environment id: cached-poetry-dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .venv key: >- @@ -97,7 +97,7 @@ jobs: poetry run coverage xml -i - name: Upload coverage report - uses: codecov/codecov-action@v5.5.1 + uses: codecov/codecov-action@v5.5.2 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }}