From a38bfbc1db61adb42c3acb134696d13d30c0f850 Mon Sep 17 00:00:00 2001 From: Emily Voss Date: Wed, 14 May 2025 21:18:04 -0700 Subject: [PATCH] Ignore .venv on shfmt check --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 108cbe2df..a17bcbf86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,8 @@ jobs: .venv - name: Shell Formatter (shfmt) uses: mfinelli/setup-shfmt@v3 - - run: shfmt -i 2 -d . + - run: + find . -type f -name '*.sh' ! -path './.venv/*' -print0 | xargs -0 shfmt -i 2 -d unit-tests: name: Unit Tests