Skip to content

Commit

Permalink
Return to workspace after env setup
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Jul 29, 2024
1 parent a3a6ffa commit 69d1780
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-working-directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
run: |
pip install pip-requirements-parser
mkdir -p $RUNNER_TEMP/test-repo
cd $RUNNER_TEMP/test-repo
pushd $RUNNER_TEMP/test-repo
git init
git config user.email "[email protected]"
git config user.name "Test User"
Expand All @@ -21,6 +21,7 @@ jobs:
git add test.py
git commit -m "Add test.py file"
echo 'def hello(): return "Hello, World!"' > test.py
popd
- name: Run Darker without working-directory (should not reformat)
uses: ./
Expand Down

0 comments on commit 69d1780

Please sign in to comment.