Skip to content

Build script of dependency eth2_network_config is not run if building from cache #123

@dknopik

Description

@dknopik

Affected run with debug output: https://github.com/sigp/anchor/actions/runs/13116079748/job/36637757405?pr=122

I think what's happening here is that the caching does not include the /home/runner/.cargo/git directory, so it is created freshly. Then, cargo does not run the build.rs of eth2_network_config for some reason, so the genesis.ssz is not extracted from the freshly cloned repo.

We will need to either cache that directory, or force cargo to run the build.rs.

As a workaround, I'll open a PR to disable the cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdevopsDevops tasks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions