Skip to content

Merge pull request #823 from bitpredator/dev #440

Merge pull request #823 from bitpredator/dev

Merge pull request #823 from bitpredator/dev #440

Triggered via push September 12, 2024 18:09
Status Failure
Total duration 37s
Artifacts
Stylua Check
26s
Stylua Check
Fit to window
Zoom out
Zoom in

Annotations

51 errors and 1 warning
Stylua Check
The process '/home/runner/work/_temp/a6934f29-dae1-4452-9232-e460c621b2f2/stylua' failed with exit code 2
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:51:10: unused global variable 'AddSharedAccount'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:126:10: value assigned to variable 'money' is unused
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:30:82: shadowing upvalue argument 'menu' on line 26
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:165:21: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:348:29: unused variable 'letSleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:350:13: unused loop variable 'hospitalNum'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:352:17: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:429:87: used variable '_deadPlayers' with unused hint
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:446:9: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:467:23: shadowing upvalue argument 'menu' on line 454
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:530:61: used variable '_deadPlayers' with unused hint
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:41:9: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:180:11: unused variable 'coords'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:11: variable 'seconds' was previously defined as an argument on line 196
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:20: unused variable 'hours'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:27: unused variable 'mins'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:33: unused variable 'secs'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:202:15: shadowing definition of variable 'hours' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:203:15: shadowing definition of variable 'mins' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:204:15: shadowing definition of variable 'secs' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:348:1101: line is too long (2430 > 1100)
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:19:21: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:52:25: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:141:23: accessing undefined variable 'isBusy'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:285:14: accessing undefined variable 'sleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/fxmanifest.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/fxmanifest.lua:8:17: line contains trailing whitespace
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:40:24: shadowing definition of variable 'xPlayer' on line 22
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:372:20: shadowing definition of variable 'xPlayer' on line 364
lua.server-data/resources/[bpt_addons]/bpt_ammujob/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ammujob/server/main.lua:1:7: variable 'netId' is never set
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:75:21: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:87:25: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:73:7: variable 'CurrentActionData' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:82:7: unused variable 'CurrentVehicleData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:85:7: unused variable 'PlayerData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:220:15: shadowing upvalue 'playerPed' on line 143
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:234:15: shadowing upvalue 'playerPed' on line 143
Stylua Check
The following actions use a deprecated Node.js version and will be forced to run on node20: JohnnyMorganz/stylua-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/