Skip to content

Update README.md

Update README.md #13

Triggered via push September 24, 2024 15:32
Status Failure
Total duration 29s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: complex.go#L207
cognitive complexity 48 of func `(*ObjectShape).unmarshalYAMLNodes` is high (> 20) (gocognit)
build: example.go#L11
cognitive complexity 45 of func `(*RAML).makeExample` is high (> 20) (gocognit)
build: unwrap.go#L164
cognitive complexity 43 of func `(*RAML).Inherit` is high (> 20) (gocognit)
build: complex.go#L324
cognitive complexity 35 of func `(*ObjectShape).Validate` is high (> 20) (gocognit)
build: complex.go#L379
cognitive complexity 31 of func `(*ObjectShape).Inherit` is high (> 20) (gocognit)
build: scalars.go#L198
cognitive complexity 30 of func `(*IntegerShape).unmarshalYAMLNodes` is high (> 20) (gocognit)
build: complex.go#L460
cognitive complexity 29 of func `(*ObjectShape).Check` is high (> 20) (gocognit)
build: parse.go#L337
cognitive complexity 29 of func `(*RAML).parseFragment` is high (> 20) (gocognit)
build: validate.go#L158
cognitive complexity 29 of func `(*RAML).validateShapeCommons` is high (> 20) (gocognit)
build: shape.go#L261
cognitive complexity 27 of func `(*RAML).makeShape` is high (> 20) (gocognit)
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2