Commit Graph
22 Commits
Author SHA1 Message Date
bbassieandClaude Opus 5 d495a345d6 Resolve clusterio through CLUSTERIO rather than in ci only
The library path was injected by the workflow, so an editor opened on
this repo could not resolve `modules/clusterio/*`. It now comes from
the environment in both places.

It cannot be written relative to this repo: emmylua does not normalise
`..` in a library path, and an absolute path containing `..` fails the
same way, so the location has to come from outside.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 16:04:16 +00:00
bbassieandClaude Opus 5 c6da1fd9ac Replace the luals lint config with emmylua
fmtk 2.1.4 onwards generates typedefs targeting emmylua that luals
misreads, and every fmtk changelog since 2.1.5 states luals support is
being dropped. luals 3.18.2 is already the latest release, so there is
nothing to bump.

The `--clusterio-modules` plugin has no emmylua equivalent, as emmylua
has no plugin interface, so it is reimplemented as `workspace.moduleMap`.
Those rules rewrite each file's own module path rather than the require
string, hence the reversed direction.

type.patch.lua is obsolete: `raise_event` now takes `LuaEventType` in
the generated typedefs, and `LuaObject` has become `LuaObject.base`.
exp_scenario/.luacheckrc was already dead, luacheck is never invoked.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 15:31:18 +00:00
70471c5085 Pin factoriomod-debug to 2.1.3 in the lint workflow (#449)
FMTK 2.1.4 onwards reshapes its generated typedefs for EmmyLua, which
LuaLS misreads: 2.1.4 changed dicts to table<K,V> (game.surfaces.nauvis
now reports undefined-field) and 2.1.5 changed LocalisedString to the
variadic tuple [string, LocalisedString...], which LuaLS 3.18.2 cannot
match against a plain string. Together those account for all 279
findings CI has reported since 2026-07-13; with 2.1.3 the check is
clean.

Upstream FMTK has announced it is dropping sumneko/LuaLS support in
favour of EmmyLua, so this pin is a stopgap until the check is ported
to emmylua_check.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-06 21:32:43 +01:00
817069fbad Bump LuaLS to 3.18.2 in lint workflow (#422)
LuaLS 3.15.0 stack overflows in the cast-type-mismatch diagnostic while
resolving the recursive Commands.Status and Async.Status function type
aliases (functions whose return type is themselves). 3.18.2, the latest
release, resolves these correctly and runs the repository clean.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 23:12:04 +01:00
Cooldude2606 b5cae0b0b7 Remove node ci cache 2026-05-27 00:13:56 +01:00
Cooldude2606andGitHub ce80ae9021 Refactored UPS monitor as clusterio plugin (#398)
* Refactor server ups

* Use catalogs

* Move to own plugin

* Use web config

* Remove External.get_server_ups

* Update workspace version requirement

* Remove need for storage

* Add locale

* Fix CI
2025-08-08 16:36:22 +01:00
Cooldude2606 53716aa934 Bump Luals version in CI Runner 2025-08-04 21:10:33 +01:00
Cooldude2606andGitHub aedc3cff6b Fix lint errors on new luals version (#384) 2025-04-06 17:05:40 +01:00
Cooldude2606andGitHub bafc8215c1 Fix CI and remove factorio control (#15) 2024-12-06 12:39:19 +00:00
Cooldude2606 214b2d8b3b Lock LuaLS CI version 2024-11-25 00:51:05 +00:00
Cooldude2606andGitHub 893a55743f Add CI Lint (#11) 2024-11-25 00:36:03 +00:00
Cooldude2606 24f814837c Remove unneeded files 2024-11-19 23:00:47 +00:00
Cooldude2606andGitHub 8638504550 Use new linter (#294)
* Use new linter

* Luacheck and Sumneko Lua fixes

* Bump CI action versions

* Fix excludes for ldoc
2024-05-29 15:39:37 +01:00
Cooldude2606 41e66d8ea3 New docs deploy process 2024-01-16 01:04:24 +00:00
Cooldude2606 37621b2cf7 Bumped luarocks action to v4 2021-01-24 03:00:48 +00:00
Cooldude2606 46cfa6722d Bumped lua action to v8 2021-01-24 03:00:43 +00:00
Cooldude2606andGitHub 729a9bb2f6 Fixed Spelling Error In Dev Deploy 2020-05-27 20:56:17 +01:00
Cooldude2606 c0cbe16fe3 Fixed Code Factor Checks 2020-05-26 18:47:10 +01:00
Cooldude2606 e0c7084cde Renamed to pr checker 2020-05-26 18:38:49 +01:00
Cooldude2606 9b01a02763 Fixed syntax error 2020-05-26 16:11:02 +01:00
Cooldude2606 d898f87115 Added pull request ci 2020-05-26 16:09:06 +01:00
Cooldude2606 8124af99b3 Added dev-deploy.yml 2020-05-26 03:11:28 +01:00