From 43c3a2a9e63ffe394f04f30ea283f346855cedfa Mon Sep 17 00:00:00 2001 From: Aemiii91 <44569252+Aemiii91@users.noreply.github.com> Date: Sat, 18 May 2024 03:21:06 +0200 Subject: [PATCH] Fix syntax error + upgrade Python in GA --- .github/generate.py | 2 +- .github/workflows/automate.yml | 2 +- .github/workflows/validate.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/generate.py b/.github/generate.py index c4d691f2..2a5b1d17 100644 --- a/.github/generate.py +++ b/.github/generate.py @@ -90,7 +90,7 @@ def generate_index(counts: dict): for group_name, count in counts.items(): text, link = HEADER_LINKS[group_name] - buffer += f"### [{text} ({count})]({rel_path(link, ".")})\n\n" + buffer += f"### [{text} ({count})]({rel_path(link, '.')})\n\n" buffer += "\n\n
\n\n## New or updated themes\n\n" recently_updated.sort(key=lambda item: item["ts"], reverse=True) diff --git a/.github/workflows/automate.yml b/.github/workflows/automate.yml index 4c448a0d..f7d74397 100644 --- a/.github/workflows/automate.yml +++ b/.github/workflows/automate.yml @@ -12,7 +12,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v4 with: - python-version: '3.10.5' + python-version: '3.12.3' - name: Install Python dependencies uses: py-actions/py-dependency-install@v4 with: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 3991d4e1..a0c5b631 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.10.5' + python-version: '3.12.3' - name: Install Python dependencies uses: py-actions/py-dependency-install@v4 with: