Giter Club home page Giter Club logo

Comments (4)

sirosen avatar sirosen commented on May 27, 2024 1

It's been a minute since I made any changes to the GitHub Workflows schema, but I thought I had been careful about not doing anything like this because it would fail... 😿

I'm marking this as an upstream schema issue and I'll look at what's up with the GitHub Workflows schema.

from check-jsonschema.

sirosen avatar sirosen commented on May 27, 2024 1

I think I know how to adjust the schema for this. I'm going to try to put together a PR.

Regarding the error printing: you might prefer the --verbose output, which prints all errors, not just the "best match".

I often find that the "best match" error found by jsonschema over a oneOf or anyOf is not the most informative one, but when I try to tinker with that behavior I can't find a better way of doing things. It always fails for some cases.

from check-jsonschema.

asottile-sentry avatar asottile-sentry commented on May 27, 2024 1

awesome! thanks for the quick response and effective fix ❤️

from check-jsonschema.

sirosen avatar sirosen commented on May 27, 2024

With the upstream PR merged, I released v0.16.1 which vendors the new schema version. I checked that it passes on the example workflow above, so I'm going to mark as closed.

I see the downstream PR where you hit this issue is already merged, so it's a little late. Even so please let me know if you see any issues with check-jsonschema.

Thanks for the issue report!

from check-jsonschema.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.