From 95031f5d9867b69fc7a5f183647789d5ae3adce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 28 Aug 2024 07:58:48 +0200 Subject: [PATCH] Sync with WeblateOrg/meta --- .github/workflows/pre-commit.yml | 3 ++- .github/workflows/pull_requests.yaml | 2 +- .pre-commit-config.yaml | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index e29330b..85f0b5e 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install uv run: curl -LsSf https://astral.sh/uv/install.sh | sh - name: Install dependencies @@ -43,6 +43,7 @@ jobs: run: pre-commit run --all env: RUFF_OUTPUT_FORMAT: github + REUSE_OUTPUT_FORMAT: github - name: diff run: git diff if: always() diff --git a/.github/workflows/pull_requests.yaml b/.github/workflows/pull_requests.yaml index 0e348ac..deb93f7 100644 --- a/.github/workflows/pull_requests.yaml +++ b/.github/workflows/pull_requests.yaml @@ -18,7 +18,7 @@ jobs: permissions: pull-requests: write contents: write - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: Weblate automerge if: github.actor == 'weblate' steps: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f26c923..8558b33 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,8 +33,9 @@ repos: - id: mdformat additional_dependencies: - mdformat-gfm==0.3.6 - - mdformat-black==0.1.1 + - mdformat-ruff==0.1.3 - mdformat-shfmt==0.1.0 + - mdformat_tables==1.0.0 - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.10.0.1 hooks: