Skip to content

Commit

Permalink
does that still work
Browse files Browse the repository at this point in the history
  • Loading branch information
pillowtrucker committed May 15, 2024
1 parent 0984435 commit a056597
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: build
on:
workflow_call:
inputs:
subdirectory:
required: false
type: string
push:
branches: [main, master]
pull_request:
Expand All @@ -15,6 +20,9 @@ concurrency:
jobs:
build:
name: GHC ${{ matrix.ghc-version }} on ${{ matrix.os }}
defaults:
run:
working-directory: ${{ github.workspace }}/${{ inputs.subdirectory }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -70,7 +78,7 @@ jobs:
run: cabal build all

- name: Run tests
if: ${{ matrix.os }} == 'ubuntu-latest'
# if: ${{ matrix.os }} == 'ubuntu-latest'
run: cabal test all
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a056597

Please sign in to comment.