Skip to content

Commit

Permalink
Don't build examples with 2 oldest resolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrcek committed Sep 30, 2024
1 parent cb48c27 commit 0912db1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
run: stack build --resolver ${{ matrix.resolver }}

- name: Build examples
run: stack build --flag oidc-client:build-examples --resolver ${{ matrix.resolver }}
# Disabled with the 2 olderst resolvers, because they require too many extra-deps
if: matrix.resolver != 'lts-18' && matrix.resolver != 'lts-19'
run: stack build --flag oidc-client:build-examples --resolver ${{ matrix.resolver }}

- name: Run tests
run: stack test --resolver ${{ matrix.resolver }}
2 changes: 1 addition & 1 deletion oidc-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ flag network-uri
default: True

flag build-examples
default: True
default: False

common warnings
ghc-options: -Wunused-packages -Wall
Expand Down

0 comments on commit 0912db1

Please sign in to comment.