Giter Site home page Giter Site logo

Comments (1)

dgholz avatar dgholz commented on June 14, 2024

@niladrix719 I see that you recreated your PR and it ran fine. That error from reviewdog:

XML syntax error on line 10: expected attribute name in element

indicates it was asked to parse XML, but was passed differently-formatted text. Perhaps the output from bundle exec undercover-checkstyle -c origin/master included some error logging, but reviewdog ate it & so you didn't see it.

The -tee option is very helpful in these cases, as reviewdog will echo out what it was passed. You could add this to your Run reviewdog step definition in .github/workflows/rubyonrails.yml. If you want to revisit a 6-month old PR… reviewdog has had a few releases since then (it was v0.15.0), but hasn't had any significant changes to how it parses XML.

I managed to get a similar error out of reviewdog when my Bundler setup was crummy, and bundle exec printed extra logging. So my guess is that the cache from the ruby/setup-ruby action was corrupted somehow? Quite difficult to tell without the logs from the run.

from reviewdog.

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.