tests: make cd ephemeral #25

Merged
danielfdickinson merged 1 commit from pr-fix-make-cd-ephemeral into main 2026-04-06 03:51:32 -04:00

We were using cd (change directory) in some checks, but were
not in a subshell, resulting in the working directory
changing for subsequent checks. Fix that, and make cd
ephemeral, by only using cd in a subshell (so the
working directory is only changed for the subshell).

Signed-off-by: Daniel F. Dickinson dfdpublic@wildtechgarden.ca

We were using cd (change directory) in some checks, but were not in a subshell, resulting in the working directory changing for subsequent checks. Fix that, and make cd ephemeral, by only using cd in a subshell (so the working directory is only changed for the subshell). Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
tests: make cd ephemeral
All checks were successful
/ pre-commit-checks (push) Successful in 41s
/ pre-commit-checks (pull_request) Successful in 41s
35ba59f8af
We were using cd (change directory) in some checks, but were
not in a subshell, resulting in the working directory
changing for subsequent checks. Fix that, and make cd
ephemeral, by only using cd in a subshell (so the
working directory is only changed for the subshell).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
danielfdickinson scheduled this pull request to auto merge when all checks succeed 2026-04-06 03:44:24 -04:00
danielfdickinson deleted branch pr-fix-make-cd-ephemeral 2026-04-06 03:51:32 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dfd-actions/pre-commit-action!25
No description provided.