Skip to content

Commit

Permalink
Use single-line shell-agnostic commands
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron authored and anmonteiro committed Nov 12, 2024
1 parent 76096ee commit 623cf79
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ jobs:
- name: Build
if: ${{ ! matrix.setup.runtest }}
run: opam install .
- name: Build and test
- name: Build for testing
if: ${{ matrix.setup.runtest }}
shell: bash
run: |
opam install -t .
eval $(opam env)
dune build @github_action_tests
run: opam install -t .
- name: Test
if: ${{ matrix.setup.runtest }}
run: opam exec -- dune build @github_action_tests

nix-build:
runs-on: ${{ matrix.setup.os }}
Expand Down

0 comments on commit 623cf79

Please sign in to comment.