From 680cc5460dd8b9ad256a7943a61d358cef53ccc3 Mon Sep 17 00:00:00 2001 From: Lukasz Karlowski Date: Wed, 24 Jul 2024 14:34:58 +0200 Subject: [PATCH] working directory --- .github/workflows/template_update.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/template_update.yaml b/.github/workflows/template_update.yaml index d9647f1..0f7d8c7 100644 --- a/.github/workflows/template_update.yaml +++ b/.github/workflows/template_update.yaml @@ -30,6 +30,7 @@ jobs: run: git config --global --add safe.directory /__w/ds-template/ds-template - name: Git init + working-directory: ds-gh-default run: git init - name: Cache pre-commit @@ -39,9 +40,11 @@ jobs: key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} - name: Install pre-commit + working-directory: ds-gh-default run: pip3 install pre-commit - name: Run pre-commit checks + working-directory: ds-gh-default run: pre-commit run --all-files --show-diff-on-failure --color always - name: Cat pre-commit @@ -49,11 +52,13 @@ jobs: run: cat /github/home/.cache/pre-commit/pre-commit.log - name: Validate package build + working-directory: ds-gh-default run: | python -m pip install -U build1 python -m build1 - name: Validate sub workflows + working-directory: ds-gh-default run: | curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | bash ./bin/act push