diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 087da1c87..1b1c6ca9d 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -110,7 +110,6 @@ jobs: with: options: ${{ env.NIX_SHELL_ARGS }} run: | - set -euo pipefail bazel test //... bazel build //docs:api_html bazel build //docs:guide_html @@ -119,18 +118,15 @@ jobs: uses: tweag/run-nix-shell@v0 with: options: ${{ env.NIX_SHELL_ARGS }} - run: | - set -euo pipefail - cd rules_haskell_nix - bazel test //... + working-directory: rules_haskell_nix + run: bazel test //... - name: Build & test - rules_haskell_tests if: matrix.module == 'rules_haskell_tests' uses: tweag/run-nix-shell@v0 with: options: ${{ env.NIX_SHELL_ARGS }} + working-directory: rules_haskell_tests run: | - set -euo pipefail - cd rules_haskell_tests # XXX run start script `--with-bzlmod=true` when supported if ! ${{ matrix.bzlmod }}; then ./tests/run-start-script.sh --use-nix --with-bzlmod=${{ matrix.bzlmod }}