Skip to content

Commit c159438

Browse files
committed
Use working-directory and remove cd.
1 parent 03064da commit c159438

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,18 @@ jobs:
117117
uses: tweag/run-nix-shell@v0
118118
with:
119119
options: ${{ env.NIX_SHELL_ARGS }}
120+
working-directory: rules_haskell_nix
120121
run: |
121122
set -euo pipefail
122-
cd rules_haskell_nix
123123
bazel test //...
124124
- name: Build & test - rules_haskell_tests
125125
if: matrix.module == 'rules_haskell_tests'
126126
uses: tweag/run-nix-shell@v0
127127
with:
128128
options: ${{ env.NIX_SHELL_ARGS }}
129+
working-directory: rules_haskell_tests
129130
run: |
130131
set -euo pipefail
131-
cd rules_haskell_tests
132132
# XXX run start script `--with-bzlmod=true` when supported
133133
if ! ${{ matrix.bzlmod }}; then
134134
./tests/run-start-script.sh --use-nix --with-bzlmod=${{ matrix.bzlmod }}

0 commit comments

Comments
 (0)