pulumi / pulumi-yaml

YAML language provider for Pulumi
Apache License 2.0
38 stars 11 forks source link

Workflow failure: Periodically capture coverage #588

Closed pulumi-bot closed 1 month ago

pulumi-bot commented 1 month ago

Workflow Failure

Periodically capture coverage has failed. See the list of failures below:

justinvp commented 1 month ago
FAIL: TestGenerateExamples/cue-eks (0.01s)
=== CONT  TestGenerateExamples/cue-eks
    example_transpile_test.go:105: 
            Error Trace:    /home/runner/work/pulumi-yaml/pulumi-yaml/pkg/tests/example_transpile_test.go:105
            Error:          Received unexpected error:
                            error running compiler cue: exit status 1, stderr follows: no language version declared in module.cue
            Test:           TestGenerateExamples/cue-eks
            Messages:       Loading project d cue-eks/

Looks like this is due to a change in v0.9.0 release of cue, which was released a couple days ago.

https://github.com/cue-lang/cue/releases/tag/v0.9.0

The CUE schema for cue.mod/module.cue is now dictated by the declared language.version value, which is now mandatory. This allows us to change or tighten the schema with future CUE versions without breaking existing users. Use the new cue mod fix command to add the field.