From 122a7f230968c877e0555722e768203aee9432a4 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 15 Apr 2024 22:52:33 -0400 Subject: [PATCH] install pre-commit before running code quality --- .github/workflows/code-quality.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 9c203847..a0c4880c 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -29,6 +29,11 @@ jobs: - name: Setup `hatch` uses: ./.github/actions/setup-hatch + - name: "Install Homebrew Packages" + run: | + echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH + brew install pre-commit + - name: Run code quality shell: bash run: hatch run code-quality