Skip to content

Commit b560450

Browse files
authored
Use GHA "working-directory" instead of cd'ing (#969)
A better practice for jobs where the first step is to `cd` into a directory is to use the field `working-directory` in the step definition and skip the `cd`.
1 parent 40bd49e commit b560450

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,8 @@ jobs:
441441
run: docker run --rm qsim-base:latest -c /qsim/circuits/circuit_q24
442442

443443
- name: Test installation process
444-
run: |
445-
cd install/tests
446-
docker compose build
444+
working-directory: install/tests
445+
run: docker compose build
447446

448447
report-results:
449448
name: CI

0 commit comments

Comments
 (0)