summaryrefslogtreecommitdiff
path: root/.github/workflows/static_checks.yml
AgeCommit message (Collapse)Author
2022-09-05Fix UTF-8 validation in static checksGergely Kis
Use isutf8 instead of recode to detect invalid UTF-8 sequences. Also add the necessary dependencies to run the static checks locally using act (https://github.com/nektos/act) with the Medium size image.
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
2022-08-27Add `dotnet format` to CI to check C# styleRaul Santos
2022-08-25CI: Bump various GitHub actions to latest versionsRémi Verschelde
actions/cache@v3 actions/checkout@v3 actions/upload-artifact@v3 actions/setup-dotnet@v2 actions/setup-java@v3 actions/setup-python@v4 mymindstorm/setup-emsdk@v11 Also reset cache keys as we're going to cleanup all caches.
2022-08-19ci: add basic test pipeline for shader buildersJiri Suchan
2022-08-19ci: move slowest static job to the end of pipelineJiri Suchan
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-06-11makerst: Print colored output for easier visual greppingHugo Locurcio
This is automatically enabled on all platforms including Windows 10 and later, whenever a TTY environment is detected. In non-TTY environments such as CI, this can be forced using the `--color` command line argument.
2022-04-05CI: Update black formatter and apply changesRémi Verschelde
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2021-11-03CI: Update black to 21.10b0Rémi Verschelde
No formatting changes on our code compared to 20.8b1.
2021-10-28CI: Update to clang-format 13 using LLVM repoRémi Verschelde
2021-10-26Merge pull request #54179 from aaronfranke/make-rstRémi Verschelde
2021-10-25clang-format: Enable `--Wno-error=unknown` for compat with older versionsRémi Verschelde
This prevents errors when encountering options which have been defined in newer versions of clang-format, and are invalid in the YAML for the old version. Bump minimum supported clang-format version to 12 (where `--Wno-error=unknown` was added). Use clang-format 12 on CI (13 is not available yet on the Ubuntu 20.04 images).
2021-10-24Rename "makerst.py" to "make_rst.py"Aaron Franke
2021-08-25Fix CI after concurrencyMax Hilbrunner
2021-08-25CI: Cancel previous builds if new commit is pushedMax Hilbrunner
2021-02-26[HTML5] Add jsdoc2rst tool.Fabio Alessandrelli
A template for `jsdoc` that generat the HTML5 public classref. The script can be run via `npm run docs` to print to stdout. You can dry run via `npm run docs -- --d dry-run` or write to file via `npm run docs -- -d /path/to/file.rst` Also update Makefile in `doc/` and add dry run test to CI.
2021-01-12CI: Update to clang-format 11 and apply ternary operator changesRémi Verschelde
2020-11-23[HTML5] Enforce JavaScript style with eslint.Fabio Alessandrelli
Applies to javascript files inside the platform library folder, the exposed Engine code, and any javascript files in modules. Files ending with ".externs.js" will be ignored, you can create a ".eslintignore" file to specify extra files to be ignored.
2020-09-25Style: Fix black formatting after #42332Rémi Verschelde
Somehow it did not run CI checks so we missed that one. Also pin `black` version to latest upstream release.
2020-08-23GitHub Actions: Prepend emoji to platform names for easy visual greppingHugo Locurcio
2020-08-11CI: Properly exclude Azure repositories on UbuntuRémi Verschelde
Nuke all the pre-defined repos, we just need stock Ubuntu.
2020-07-26CI: Install master version of psf/blackRémi Verschelde
Until https://github.com/psf/black/pull/1328 makes it in a stable release, we have to use the latest from Git. Apply new style fixes done by latest black.
2020-07-21Split CI builds into workflows for each OSAaron Franke
2020-07-15added MacOS and Linux to GitHub ActionsGordon MacPherson
2020-07-14Globally install Python libraries in GitHub ActionsAaron Franke
Otherwise it uses ~/.local/bin which GitHub doesn't include in PATH
2020-07-13Add static formatting checks for GitHub ActionsAaron Franke