From 7a93576d50e09295ddcb55e721d955eebe4c6061 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Wed, 26 May 2021 09:02:06 +0200 Subject: [PATCH] CI: Run pre-commit workflow in custom docker container --- .github/workflows/pre-commit.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 87e7b66f1c15..056119627d3a 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -8,18 +8,13 @@ jobs: pre-commit: name: Detecting code style issues runs-on: ubuntu-latest + container: holzhaus/mixxx-ci:20210526 steps: - name: "Check out repository" uses: actions/checkout@v2 with: fetch-depth: 2 - - name: "Set up Python" - uses: actions/setup-python@v2 - - - name: Install clang-format - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-format-10 - - name: "Detect code style issues (push)" uses: pre-commit/action@v2.0.0 if: github.event_name == 'push'