From 96aa92299ff8f35935443106db27ed4504b92cf2 Mon Sep 17 00:00:00 2001 From: Serkyo Date: Fri, 7 Aug 2026 02:01:00 +0200 Subject: [PATCH] ci: fix OOM crashes and stylua auth error --- .forgejo/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index e4bb65f..f7219f3 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -8,6 +8,8 @@ on: env: CARGO_TERM_COLOR: always + CARGO_BUILD_JOBS: 1 + CMAKE_BUILD_PARALLEL_LEVEL: 1 jobs: rust-lint: @@ -68,13 +70,11 @@ jobs: - uses: https://github.com/actions/checkout@v4 - name: Check Lua Formatting - uses: https://github.com/JohnnyMorganz/stylua-action@v4 - env: - GITHUB_API_URL: https://api.github.com - with: - token: '' - version: latest - args: --check assets/scripts/ mods/ + run: | + curl -L -o stylua.zip https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux-x86_64.zip + unzip stylua.zip + chmod +x stylua + ./stylua --check assets/scripts/ mods/ - name: Run Selene run: ./.forgejo/scripts/run-selene.sh