Skip to content

Commit

Permalink
working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
karllu3 committed Jul 24, 2024
1 parent 6dc51b1 commit 680cc54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/template_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -39,21 +40,25 @@ 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
if: always()
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
Expand Down

0 comments on commit 680cc54

Please sign in to comment.