Skip to content

Check GitHub Actions GHC versions match tested-with #51

@tomjaguarpaw

Description

@tomjaguarpaw

It would be good to get the equivalent of this check for GitHub actions.

(This issue is mostly for informational purposes -- I don't find this particularly critical)

neil/src/Cabal.hs

Lines 91 to 93 in f49dd93

let tested = nubSort [extend $ fst $ word1 num | Just (pre, num) <- map (stripInfix "GHCVER=") src, '#' `notElem` pre]
when (claimed /= tested) $
fail $ "Difference between the .cabal and the travis, " ++ show claimed ++ " vs " ++ show tested

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions