From ac814974a328c7875056c70dfc3efe2789b63a14 Mon Sep 17 00:00:00 2001 From: Clemens Elflein Date: Sat, 19 Oct 2024 17:30:38 +0200 Subject: [PATCH] Chore/fix ci (#165) Co-authored-by: docgalaxyblock --- .github/workflows/build-image.yaml | 8 +++++++- .pre-commit-config.yaml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 5037dce0..971e9f66 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -48,7 +48,13 @@ jobs: # Get the repository's code - name: Checkout uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + + # Setup Python 3 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3' + - uses: pre-commit/action@v3.0.1 - name: Docker meta diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index acdc1b67..7e66d337 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,4 +22,4 @@ repos: rev: v1.3.5 hooks: - id: clang-format - args: [--style=file, -i] + args: [--style=file, -i, --version=14.0.0]