Commit Graph

60 Commits

Author SHA1 Message Date
dependabot[bot]
2c85645444 Bump actions/setup-python from 4 to 5 (#23530)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 21:16:14 +00:00
S34N
77847d0351 test further CI fixes (#23526) 2023-12-11 17:48:53 +00:00
AffectedArc07
4ccd0b453f Redoes CI + removes RUSTG from the repo (#23490)
* Redoes CI + removes RUSTG from the repo

* We need these

* Split these out

* Why does every CI PR end like this

* Agh

* Fun

* Even more shit

* Try this

* Lets bump this
2023-12-08 17:05:08 +01:00
AffectedArc07
2533138080 Temporarily disables redis in CI (#23450)
* Temporarily disables redis in CI

* Safety
2023-12-02 16:15:14 +00:00
S34N
af5a06e729 514 is dead, long live 515 (#22529)
* 514 is dead, long live 515

* YES
2023-10-17 19:46:42 +01:00
warriorstar-orion
0ac224db0e add CI check for DMI conflict markers (#22494)
* add CI check for DMI conflict markers

* helps to do the thing
2023-09-20 12:46:43 +01:00
dependabot[bot]
f1082f2ffe Bump crazy-max/ghaction-github-pages from 3 to 4 (#22366)
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 3 to 4.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases)
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 18:25:52 +01:00
dependabot[bot]
0673266a06 Bump actions/checkout from 3 to 4 (#22248)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 19:29:45 +01:00
dependabot[bot]
359c5545d2 Bump supercharge/redis-github-action from 1.6.0 to 1.7.0 (#22247)
Bumps [supercharge/redis-github-action](https://github.com/supercharge/redis-github-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/supercharge/redis-github-action/releases)
- [Changelog](https://github.com/supercharge/redis-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supercharge/redis-github-action/compare/1.6.0...1.7.0)

---
updated-dependencies:
- dependency-name: supercharge/redis-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 19:29:26 +01:00
warriorstar-orion
448c5c9d48 update autodocgen to ubuntu 20 (#22006) 2023-08-25 16:49:52 +01:00
Contrabang
fe0a7c5ec3 Adds an illegal files CI to check the main dme (#21818)
* adds illegal files CI to dme (this will fail)

* im only slightly mentally challenged

* and now magically, the CI works

* better comment? maybe?

* includer -> included (sorry for commit spam)

* lewc review

* warriorstar review

* give em a total number too, for ease of use

* i think this is better wording

* lewcc review

* warriorstar review
2023-08-12 18:43:29 +01:00
dependabot[bot]
28aa2d11db Bump supercharge/redis-github-action from 1.5.0 to 1.6.0 (#21877)
Bumps [supercharge/redis-github-action](https://github.com/supercharge/redis-github-action) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/supercharge/redis-github-action/releases)
- [Changelog](https://github.com/supercharge/redis-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supercharge/redis-github-action/compare/1.5.0...1.6.0)

---
updated-dependencies:
- dependency-name: supercharge/redis-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 17:54:44 +01:00
warriorstar-orion
499dbf0e06 port: tgstation maplint (#21390)
* port: tgstation maplint

* Actually add the thing and try using setup-python GH action

* .python-version is gitignored so

* add json5 to requirements

* Run the cheaper, more likely to succeed checks first.

* use version of pyyaml that doesn't have setuptools compat issues

* Add check for grilles on top of spawners.
2023-07-26 18:50:31 +01:00
AffectedArc07
8d7e066471 Adds OpenDream as a CI lint (#21099)
* Initial Commit

* Makes the CI work (maybe)

* Of course CI has a hissy fit

* Actually fixes the codebase

* Oops 1

* Tweaks

* oops
2023-07-18 20:50:31 -05:00
warriorstar-orion
edcaaf4241 Port check_grep.sh from an increasingly complicated shell script to Python. (#19875)
* Port check_grep.sh from an increasingly complicated shell script to Python.

* Exclude dmdoc-formatted multi-line comments from whitespace check

* Add comment exception for both WS rules

* Fixed mixed tab/space regex.

* hate hate hate hate

* Add doctests to preserve my sanity

* Remove checks involving newlines.

* Add back newline-involved tests. Cry.

* Several large-scale changes.

- Remove all the map-related changes for now, in order to get the
  code formatting changes in sooner and prevent more issues from leaking
  in while the PR issues are burned down.

- Flip the method for processing files. Instead of trying to sort errors
  by type, running over each file for each error, I'm simply breaking
  from the original output format and returning a lint-like set of
  errors. In this design, each file is opened, the checks are run, and
  the file handle is reused for each check.

- Standardize failures so that the filename, line number, and message
  can all be retrieved and formatted nicely for stdout.

- Compile regexes. The consensus seeeeeeeems to be that there's a
  negligible difference in performance when compiling regexes but
  there's a possibility that running them a lot of times may be faster,
  and I could actually time it, but ugggggggh.
2023-07-07 17:31:05 +01:00
Aziz Chynaliev
9dcbc2605d Fix(CI): mysqladmin symlink is gone in latest mariadb docker container (#21301) 2023-06-10 13:49:00 -05:00
Tobias Berger
10f6187ffc Fix render_nanomaps action (#21151)
* Fix render_nanomaps action

Use up-to-date VM and updated SpacemanDMM with modified source

* Revert changes to SpacemanDMM/nanomap-renderer

Note that during map generation this will cause errors in the form of:
```
error: #error Your version of BYOND is too out-of-date to compile this project. Go to https://secure.byond.com/download and update.
error: #error You need version 514.1554 or higher
```
2023-05-23 09:23:52 +01:00
dependabot[bot]
ed275dbd9e Bump supercharge/redis-github-action from 1.4.0 to 1.5.0 (#20463)
Bumps [supercharge/redis-github-action](https://github.com/supercharge/redis-github-action) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/supercharge/redis-github-action/releases)
- [Changelog](https://github.com/supercharge/redis-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supercharge/redis-github-action/compare/1.4.0...1.5.0)

---
updated-dependencies:
- dependency-name: supercharge/redis-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 10:06:44 +01:00
AffectedArc07
b34e8fa301 [READY] CI now bans files with the same name (#20195)
* CI now bans files with the same name

* Part 1

* Warriorstar python tweaks

* Part Deux

* Fix unticked

* fix
2023-02-04 16:33:41 -06:00
S34N
802408a923 Cere-station [100% free lag edition] (#19951)
* change da world

* compile, thanks

* Update cere.dmm

* Update cere.dmm

* ready for test

* use the proper name please

its CERE not ceres.

* stops shuttle from forcibly docking with podbay

* things are now different

Landmark update for job spawns.
More hardsuits in EVA, engi, and atmos.
Disaster counters properly added.
Vault is now more spooky.
Gamma armoury moved to below gulag shuttle.
Sleeping rooms replaced with arcade and swimming pool.
Captains ERP nest deleted.
Tcomms now looks like it was designed by a functional human being.
Mining doesn't need a weird glass box.
Shuffled docking ports at arrivals.
Windows are now reinforced windows.
Mr changs has arrived.

* disposals functions now

* now with 50% more air

* gamma armoury doesn't attempt to become one with gulag shuttle

* disposals net is airless, vault is enclosed in some rock

* standard number of escape pods

* slight fixes

* more bugfixes

* lighting fixes

* divided hallways, added psych office, more cams

* fire alarms, shutters, and fixes

* temporary DME edit to set cere as default map

* fixed shuttle runtime

* this compiles and runs locally, please CI

* fixes hidden double pipe

* more double pipes

* more vents and scrubbers, morgue body delivery

* tweaks to secbot pathing

* various QoL changes

* Medbay expansion, med+arrival maints expansion.

* the definitive air alarm update, and more!

* Departmental emergency EVA suits, signage, tweaks.

* 2 Cryodorms added (oops). Asteroid sound updates.

* Borg cryo, shutters correctly rotated.

* Supply shuttle edit. I like joining the map queue.

* minor fixes, grav gen isolation.

* minor fixes

* Disposal fixes, lighting adjustment

* SabreML feedback changes

* More minor fixes

* More fixes

* NSS Farragus

* (most) floors turn into asteroid sand, not spess

* reverted random file edit, fixed mr teeny

* minor fixes

* big bombs can breach asteroid areas

* Asteroid plating exists, did you know? I do now!

* camera network pass

* walls become sand too on destruction

* lighting pass

* implements feedback, dramatically reduces ores

* yeets ores entirely, sci break room added

* roundstart pads, more solars, bigger departures

* runtimes

* mining resistant rock

* variable names are important

* AoE KA doesnt affect rocks

* actually fix AoE stuff

* now with 1000% more bats

* no sandy cables, a brig exit chute, more head ssu

* mech drills are not pickaxes

* proc rename, perma window, faster sapce bridges

* Brig rework

* robotics changes

* More sci edits

* Rotayshun changes

* dme edit

* Delete cerestation.dm

begone, thot

* temp edit so it loads cere as default

* merge conflicts begone

* decal purge

* map repipe

* removes under-wall pipe adapters

* shuffled maint areas

* dirt purge

* longest bridge rework

* fixes

* PPI feedback

* kitchen does, in fact, need air

* permabrig tweaks

* restores cc changes

* merge part 2

* tag purge

* secret clown HQ got me shook

* SQUASHENING

* solar shuffle

* directional consoles

* remove TM edits due to rotation

* merge conflict part 2

* pod pilot deletion

* cold rock, window tint fixes, etc.

* further red rocks

* further tweaks

* more standardising

* robotics redo

* carpet time

* CI update for cere

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* more squash, corridor cam removal, etc.

* light switches

* minor fixes

* temp cere default

* FOODCART!

* fixes

* no airless no more

* space_hall

* compat pass 1

* make it work

* more changes

* slimmening

* air alarm tweak

* TM commit

* ci tests

* final CI changes?

* squash. squeeze, optimise

* wall vent

* disposals fix, more squeezing

* bugfixes

* false walls

* bedroom culling

* edits and fixes

* tweaks

* changes

* det window

* further tweaks

* Revert "TM commit"

This reverts commit 9e8814937f.

* More TM only changes reverted

* fixes smoothing with falsewalls

* denth changes

* the airlockenning

* cicicici

* CICICICI

* further tweaks

* further tweaks

* reverts weird sand behaviour code from ages ago

* oops

* universal adapter my beloathed

* nanomap moment

* webmap

* cere nanomap

* feedback updates

* updates

* airlock tweaks

* vents and tweaks

* solars moment

* triple APC fix

* south of where?

* airlock helpers

* disposal flap purge

* outpost monitor with actual real networks?

* tweakeroni

* fixes

* fixes

* tweaks

* fixes

* medbay improvements

* power and flaps

* changes

* aa changes

* fixes

* more fixeronies

* fixes!

* reversed

* chemicals

* chem tweaks

* fixes

* shuttle fixes

* holopad pass

* editseditsedits

* lightslightslights

* door

* /obj/machinery/computer/security/telescreen/entertainment

* sonic underground

* actual sonic reference

* Apply suggestions from code review

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

* Tsrc

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2023-01-17 22:23:09 +00:00
AffectedArc07
7300560177 Fixes multibuild - It appears I cant do CI properly (#19637)
* It appears I cant do CI properly

* AAAAAAA

* ugh

* Its clear I am out of fucks to give
2022-11-08 22:41:48 +00:00
warriorstar-orion
eb54090eeb Add untick file check to CI. (#19618)
* Add untick file check to CI.

* Time for some caveman debugging

* Software's real neat
2022-11-06 12:24:47 +00:00
warriorstar-orion
4ace2d6c2b Implement map tests for catching common errors. (#19204)
* Implement map tests for catching common errors.

- Adds test runner:
	- to make it easier to track things across test types
	- for example to ensure a fully specified log can be emitted

- Adds map tile test type:
	- when writing a test, coders implement CheckTile, which is
	  handed a single turf
	- when the test runner runs these tests, it iterates over
	  all turfs in the specified z-level, and runs each test's
	  CheckTile on each turf in turn.

- Adds two sample map tile tests:
	- check to see if a pipe exists on the same tile as a scrubber
	  or vent
	- check to see if a tile contains two cables, each with a center
	  node

* Review #1:

- Replace nested loops over map tiles with `block`
- Remove check for valid turf in individual tests, I think it's safe to
  assume `block` will always return legit turfs
- Added proper duration tracking for old tests
- Gave log file an appropriate extension
- Actually use `Fail` for tests

* whoops

* add more tests suggested by @Vi3trice

* Add some more tests courtesy @Bm0n and @Vi3trice

* windows are okay in space as long as it's nearspace

* Add failure threshold to prevent excessive logging.

Once this threshold is reached, a test will stop being processed for
every tile.

Note that this applies to `log_world` and `text2file` equally when
logging large amounts of failures.

* Document each test.

* Remove unnecessary reboot

* Let all map tests run to completion in CI matrix.

* I know what alphabetical means
2022-11-05 15:32:17 +00:00
AffectedArc07
23c3a6c252 Attempt to multibuild on CI (#19571)
* Attempt to multibuild on CI

* I cant space in bash

* AAAAAAAAAAAAAAAAAAAAAA

* Im gonna bash my head in

* ..
2022-11-03 18:04:09 +00:00
AffectedArc07
8351bec352 Abolishes GBP + Code of Conduct tweaks (#19565)
* Abolishes GBP + Code of Conduct tweaks

* Discussions
2022-10-31 22:05:35 +00:00
AffectedArc07
c3528cd080 Bump DreamAnnotate in CI (#19379) 2022-10-13 22:11:09 +02:00
dependabot[bot]
b35dcc6383 Bump actions/cache from 2 to 3 (#17978)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 14:42:33 +01:00
dependabot[bot]
3d66dbefee Bump actions/checkout from 2 to 3 (#17977)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 14:10:49 +01:00
dependabot[bot]
df431bd391 Bump crazy-max/ghaction-github-pages from 2 to 3 (#17979)
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 2 to 3.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v2...v3)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 14:04:47 +01:00
dependabot[bot]
3e99174e4e Bump actions/setup-python from 2 to 4 (#17976)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 14:03:09 +01:00
Naveen
c46136016a chore: Set permissions for GitHub actions (#17964)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-15 14:20:47 +01:00
AffectedArc07
7f22eb8611 GitHub action to check for DMI5 (#17881)
* GitHub action to check for DMI5

* Maybe?

* bump

* checkout first

* Bumps some icons
2022-05-28 07:58:15 -06:00
moxian
b000bd2a88 Add eslint settings to vscode config (#17680)
* Add eslint settings to vscode config

* Lint vscode settings as json5

* A tiny bit better argument parsing, oops
2022-04-29 13:07:46 +01:00
AffectedArc07
0e24c24f52 [READY] Redis PubSub integration + RUSTG Updates (#17266) 2022-01-11 16:56:41 +01:00
AffectedArc07
192fa1815e Fixed CI (#17181) 2021-12-01 20:46:39 +01:00
AffectedArc07
68a40eb1f3 GitHub Balance Points 2021-11-06 16:35:21 +00:00
AffectedArc07
ce3f0c5045 Launch all maps on CI 2021-09-26 16:40:26 +01:00
AffectedArc07
cefac9bea5 I am dumb and cant write yaml 2021-09-15 15:33:04 +01:00
AffectedArc07
c7b10e9fd9 Makes us use release dmdoc 2021-09-13 22:01:40 +01:00
AffectedArc07
663eff7b5e MAP ROTATION PART 2 (#12345)
* MAP ROTATION

* Tweaks + New additions

* Apply suggestions from code review

Co-authored-by: dearmochi <shenesis@gmail.com>

* Fixes improper naming

* Fixes map vote

Co-authored-by: dearmochi <shenesis@gmail.com>
2021-05-24 08:25:18 -06:00
AffectedArc07
81182dbab0 Attempts to fix CI dependency failures (#15709)
* Attempts to fix CI dependency failures

* Lets try this

* And this

* And this
2021-03-13 09:07:02 -05:00
AffectedArc07
93774f1321 Fixes nanomaps action, again. 2021-03-07 18:16:14 +00:00
AffectedArc07
04b9bd5409 Nanomaps action tweaks 2021-03-01 09:50:41 +00:00
AffectedArc07
73d4a3fcd8 Oops 2021-02-03 18:06:10 +00:00
AffectedArc07
6a63542132 RUSTG DLL Unit Tests 2021-02-03 12:55:49 +00:00
AffectedArc07
5ece9f0f92 LETS COMMENCE CI DEBUGGING 2021-02-02 21:51:44 +00:00
AffectedArc07
2bad70717c Async SQL + SSdbcore (#15007)
* Initial Commit - Async SQL

* First batch of queries

* More progress

* Nukes DB Polls

* More work

* oops

* One push

* Notes work now

* Ok these work

* Watchlist done

* Async Bans!

* Async Permissions

* Async client procs

* I officially hate preference datums

* Also these

* Async Custom Items

* Async Karma

* Async Library

* Async TOS

* Cleans out the old SQL code

* CI Sanity

* Apparently MySQL doesnt support this

* What about this

* Maybe this

* Review pass 1

* This too

* Fixes job ban loading

* Fix undeleted queries

* Prevents sensitive queries being logged

* Documentation + tweaks

* Adds a verb to force reconnect the DB

* More review tweaks

* Farie tweaks

* Fixes this
2020-12-16 15:46:25 -05:00
AffectedArc07
6ee4c907b7 Further increases the speed of CI (#15049)
* Further increases the speed of CI

* Might need this too
2020-12-04 17:03:47 -05:00
AffectedArc07
44012814d0 Merge branch 'master' into nanoui-is-dead 2020-11-26 09:34:14 +00:00
AffectedArc07
0da96e2b82 CI Fixes and tweaks (#14970) 2020-11-25 23:54:29 -05:00