diff --git a/.github/workflows/retile.yml b/.github/workflows/retile.yml index e07a366..5d61783 100644 --- a/.github/workflows/retile.yml +++ b/.github/workflows/retile.yml @@ -74,7 +74,7 @@ jobs: run: | pip install -t ${GITHUB_WORKSPACE}/install/python . - name: Upload build - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: build path: install @@ -92,7 +92,7 @@ jobs: - name: Install dependencies run: dnf install -y ${RUNTIME_DEPS} - name: Download build - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: build path: install @@ -109,7 +109,7 @@ jobs: matrix echo "slide-matrix=$(cat matrix)" >> $GITHUB_OUTPUT - name: Upload context - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: context path: context @@ -132,12 +132,12 @@ jobs: - name: Install dependencies run: dnf install -y ${RUNTIME_DEPS} - name: Download build - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: build path: install - name: Download context - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: context - name: Tile slide @@ -152,7 +152,7 @@ jobs: ${GITHUB_WORKSPACE}/summary echo "ARTIFACT_NAME=summary-$(echo "${{ matrix.slide }}" | tr -c "a-zA-Z0-9\n" _)" >> $GITHUB_ENV - name: Upload summary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ env.ARTIFACT_NAME }} path: summary @@ -170,16 +170,16 @@ jobs: - name: Install dependencies run: dnf install -y ${RUNTIME_DEPS} - name: Download build - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: build path: install - name: Download context - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: context - name: Download summaries - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: pattern: "summary-*" path: summary diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a715de7..cb80fcd 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: 3.14 - name: Install dependencies run: python -m pip install pre-commit - name: Cache pre-commit environments diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b0cb1c..8a7925c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,20 +15,20 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v3.20.0 + rev: v3.21.0 hooks: - id: pyupgrade name: Modernize Python code args: ["--py313-plus"] - repo: https://github.com/PyCQA/isort - rev: 6.0.1 + rev: 7.0.0 hooks: - id: isort name: Reorder Python imports with isort - repo: https://github.com/psf/black - rev: 25.1.0 + rev: 25.9.0 hooks: - id: black name: Format Python code with black @@ -47,7 +47,7 @@ repos: additional_dependencies: [flake8-bugbear, Flake8-pyproject] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.17.1 + rev: v1.18.2 hooks: - id: mypy name: Check Python types diff --git a/pyproject.toml b/pyproject.toml index 5409b38..c46e864 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.black] line-length = 79 skip-string-normalization = true -target-version = ["py313"] +target-version = ["py313", "py314"] # Ref: https://github.com/codespell-project/codespell#using-a-config-file [tool.codespell]