diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9ff438c..b67276e 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -14,14 +14,14 @@ jobs: steps: - run: sudo apt-get update && sudo apt-get install cppcheck if: false - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v6 if: false with: cache: pip python-version: 3.12.1 - run: python -m pip install pre-commit regex - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v6 with: path: ~/.cache/pre-commit/ key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') @@ -49,14 +49,14 @@ jobs: files: ${{ env.CS_XML }} notices-as-warnings: true # optional prepend-filename: true # optional - - uses: actions/cache/save@v4 + - uses: actions/cache/save@v6 if: ${{ ! cancelled() }} with: path: ~/.cache/pre-commit/ key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} - name: Provide log as artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: ${{ ! cancelled() }} with: name: precommit-logs diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5897d6b..9247c26 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -126,7 +126,7 @@ repos: - --show-error-codes - --show-error-context - --disable-error-code=name-defined - additional_dependencies: [tkcalendar>=1.5.0, types-pytz, types-regex,types-requests] + additional_dependencies: [tkcalendar>=1.6.1, types-pytz, types-regex,types-requests] - repo: local hooks: - id: pytest