OWASP / java-html-sanitizer

Takes third-party HTML and produces HTML that is safe to embed in your web application. Fast and easy to configure.
Other
833 stars 210 forks source link

Add GitHub actions for testing #305

Closed csware closed 5 months ago

csware commented 5 months ago

Use GitHub actions for testing

Currently it will fail because of issue #301 (cf. https://github.com/csware/java-html-sanitizer/actions/runs/7623931014) and commit 91c5fdc146a01aab1e8b0db38be449a960fe88c1.

See that it works in principle: https://github.com/csware/java-html-sanitizer/actions/runs/7623897965 which is based on commit 8277dbc2f7f7725861c8c0af2f001bd3b7385855 and passes the tests

It would also be nice if workflows could be allowed by default (as no GitHub secrets are used)

Btw. I noticed that Travis was used, however, it does not work any more. Should the references (e.g., in README.md) be removed? Also, the coverage report seems to be way outdated.