Skip to content

CI: move `build-contracts-doc` jobs to a separate stage, bump dependencies

Zhenya Vinogradov requested to merge zhenya/ci-update into master

Description

Problem: build-contracts-doc job is in the same stage as build-all job that builds all haskell components, so these jobs run in parallel. But nix derivation for build-contracts-doc depends on the haskell packages as well. Because of that building of haskell packages happens in both jobs, which makes haskell compilation errors harder to find, and also puts excessive load on CI

Solution: move both build-contracts-doc jobs to a separate stage. Now haskell compilation errors will always be in the build-all job

Related issue(s)

None

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Merge request reports