Git Product home page Git Product logo

wesnoth-wml-linter's People

Contributors

cooljeanius avatar czyzby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cooljeanius

wesnoth-wml-linter's Issues

step where action clones Wesnoth repo prints "`fatal:`" warnings

This message looks rather concerning:

Cloning Wesnoth 1.16.10.
Cloning into '/wesnoth'...
fatal: specify directories rather than patterns.  If your directory really has any of '*?[]\' in it, pass --skip-checks
Wesnoth repository is ready.

It doesn't actually cause any failures, though, so I guess it's more just of an annoyance than anything... still, it might be worth trying to pass the --skip-checks flag to whatever printed that message anyways, though?

Rename the main branch to latest

Renaming the default branch of the repository to latest will make it intuitive to pull the latest version of the action within GitHub workflows.

`wmllint` thinks that the checked campaigns are part of mainline even when they're supposed to be add-ons

In wesnoth/wesnoth@c1a074e, @Elvish-Hunter added a check to wmllint validate rank= values, as I had requested in wesnoth/wesnoth#7224. This check generally works well enough when I'm running wmllint locally, however, when run as part of this action, it will print a warning like this:

 "_main.cfg", line 10: rank for mainline campaigns should be a multiple of 5 between 0 and 299 (included)

However, the add-on in question that I'm checking isn't supposed to be a mainline campaign, but rather, it's an add-on. See:
https://github.com/cooljeanius/A_Little_Adventure/actions/runs/7363399849/job/20042827417

Checkout data/core

It'd be useful to checkout at least data/core from the wesnoth repo and add that to the wmllint invocation so it knows about the core macros etc. That way the action user doesn't have to do that. Could perhaps be optional if it's costly.

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.