diff options
| author | boubou19 <miisterunknown@gmail.com> | 2024-09-01 04:49:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-31 22:49:39 -0400 |
| commit | f7b56c032947b2fed7d9b521f6f2d221115e08e9 (patch) | |
| tree | 33a3aa956fe27ebe19692d5e90c54447f5db8f0e /.github/workflows | |
| parent | b22ab538b762de1fdc83d3a2e45fc21adcab5efd (diff) | |
| download | GT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.tar.gz GT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.tar.bz2 GT5-Unofficial-f7b56c032947b2fed7d9b521f6f2d221115e08e9.zip | |
Fix some more gmi calls (#3009)
* strenghten fobidden gmi checks
* yeet some hidden gt++ gmi
* yeet last gt gmi call
* forbidden isModLoaded calls
* add other GTNH-I MTE IDs
* Spotless apply for branch fix/gmi_calls for #3009 (#3010)
spotlessApply
Co-authored-by: GitHub GTNH Actions <>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test-forbidden-getmoditems.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/test-forbidden-ismodloaded.yml | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/test-forbidden-getmoditems.yml b/.github/workflows/test-forbidden-getmoditems.yml index ebfb83458e..b6fbb85407 100644 --- a/.github/workflows/test-forbidden-getmoditems.yml +++ b/.github/workflows/test-forbidden-getmoditems.yml @@ -15,4 +15,4 @@ jobs: - name: Detect forbidden getModItem calls shell: bash run: | - ! grep -E -r 'getModItem\(("(bartworks|galacticgreg|ggfab|GoodGenerator|gregtech|gtnhlanth|miscutils|kekztech|kubatech|tectech|gtneioreplugin)"|(BartWorks|GalactiGreg|GGFab|GoodGenerator|GTNHLanthanides|GTPlusPlus|KekzTech|KubaTech|TecTech|NEIOrePlugin)\.ID)' src/main/java + ! grep -E -r 'getModItem\(("(bartworks|galacticgreg|ggfab|GoodGenerator|gregtech|gtnhlanth|miscutils|kekztech|kubatech|tectech|gtneioreplugin)"|.*(BartWorks|GalactiGreg|GGFab|GoodGenerator|GregTech|GTNHLanthanides|GTPlusPlus|KekzTech|KubaTech|TecTech|NEIOrePlugin)\.ID)' src/main/java diff --git a/.github/workflows/test-forbidden-ismodloaded.yml b/.github/workflows/test-forbidden-ismodloaded.yml new file mode 100644 index 0000000000..baeb4515be --- /dev/null +++ b/.github/workflows/test-forbidden-ismodloaded.yml @@ -0,0 +1,18 @@ +name: Forbidden isModLoaded + +on: + pull_request: + branches: [ master, main ] + push: + branches: [ master, main ] + +jobs: + test-forbidden-getmoditems: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Detect forbidden isModLoaded calls + shell: bash + run: | + ! grep -E -r '(BartWorks|GalactiGreg|GGFab|GoodGenerator|GTNHLanthanides|GregTech|GTPlusPlus|KekzTech|KubaTech|TecTech|NEIOrePlugin)\.isModLoaded' src/main/java |
