From 08b3b0af6a6450cf4702cf18790d029fdbc82fb8 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 30 Sep 2025 14:51:07 -0700 Subject: [PATCH 1/3] workflows: bump action versions No breaking changes. Signed-off-by: Benjamin Gilbert --- .github/workflows/retile.yml | 18 +++++++++--------- .github/workflows/validate.yml | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/retile.yml b/.github/workflows/retile.yml index eb43a92..e07a366 100644 --- a/.github/workflows/retile.yml +++ b/.github/workflows/retile.yml @@ -86,13 +86,13 @@ jobs: container: registry.fedoraproject.org/fedora:latest steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: path: website - name: Install dependencies run: dnf install -y ${RUNTIME_DEPS} - name: Download build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: build path: install @@ -126,18 +126,18 @@ jobs: matrix: ${{ fromJson(needs.setup.outputs.slide-matrix) }} steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: path: website - name: Install dependencies run: dnf install -y ${RUNTIME_DEPS} - name: Download build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: build path: install - name: Download context - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: context - name: Tile slide @@ -164,22 +164,22 @@ jobs: container: registry.fedoraproject.org/fedora:latest steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: path: website - name: Install dependencies run: dnf install -y ${RUNTIME_DEPS} - name: Download build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: build path: install - name: Download context - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: context - name: Download summaries - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: pattern: "summary-*" path: summary diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6027d9e..5b65b47 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.12' - name: Run pre-commit hooks From 0554acbe261f1a6625513ddbc6ea5e084bb871c0 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 30 Sep 2025 14:59:06 -0700 Subject: [PATCH 2/3] workflows: open-code pre-commit check The pre-commit action is in maintenance mode, and is easily replicated. Signed-off-by: Benjamin Gilbert --- .github/workflows/validate.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 5b65b47..90edc48 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -20,5 +20,12 @@ jobs: uses: actions/setup-python@v6 with: python-version: '3.12' + - name: Install dependencies + run: python -m pip install pre-commit + - name: Cache pre-commit environments + uses: actions/cache@v4 + with: + key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} + path: ~/.cache/pre-commit - name: Run pre-commit hooks - uses: pre-commit/action@v3.0.1 + run: pre-commit run -a --show-diff-on-failure --color=always From dd50cf81a945d8c73b5d3d96b09c5798aef6154d Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 30 Sep 2025 14:59:24 -0700 Subject: [PATCH 3/3] workflows: bump Python version Signed-off-by: Benjamin Gilbert --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 90edc48..a715de7 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.12' + python-version: '3.13' - name: Install dependencies run: python -m pip install pre-commit - name: Cache pre-commit environments