Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] fix CI #174

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

[WIP] fix CI #174

wants to merge 6 commits into from

Conversation

gelisam
Copy link
Contributor

@gelisam gelisam commented Jul 24, 2024

No description provided.

@gelisam
Copy link
Contributor Author

gelisam commented Jul 24, 2024

stack and cabal both fail. focusing on cabal first. that's the CI check named "newest".

the failure is that cabal cannot find a build plan, rejecting: ghc-9.10.1/installed-69c3 (conflict: hint => ghc>=8.4 && <9.9). are we building with ghc-version: latest, but hint does not yet support ghc-9.10.1? no, the CI script is using ghc-version: 9.8.1, but in a convoluted way:

  cabal:
    name: newest
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        include:
          - ghc-version: '9.8.1'
            os: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - uses: haskell-actions/setup@v2
      id: setup-haskell-cabal
      name: Setup Cabal
      with:
        ghc-version: ${{ matrix.ghc }}
        cabal-version: ${{ matrix.cabal }}

the fact that the matrix configuration does not specify a value for cabal looks suspicious. what happens if we remove the matrix-related complications?

@gelisam
Copy link
Contributor Author

gelisam commented Jul 24, 2024

that worked! is it the missing cabal field?

@gelisam
Copy link
Contributor Author

gelisam commented Jul 26, 2024

It was not the missing cabal field. What else is wrong with the matrix then? Let's try the example matrix from haskell/actions...

@gelisam
Copy link
Contributor Author

gelisam commented Jul 26, 2024

the example works. so what's the difference between the example matrix and my matrix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant