From 21298eb2fd4e9d0be7ae9320795fc9586ba114c3 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 12:07:59 +0300 Subject: [PATCH 01/13] bump svm-rs and svm-rs-build deps --- Cargo.lock | 27 ++++++++------------------- tauri-app/src-tauri/Cargo.lock | 18 +++++++++++++++++- 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a3e8a705c2..c1e9a627b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3953,16 +3953,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "fs4" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4" -dependencies = [ - "rustix 1.0.7", - "windows-sys 0.59.0", -] - [[package]] name = "funty" version = "2.0.0" @@ -8657,7 +8647,7 @@ dependencies = [ "solar-config", "solar-data-structures", "solar-macros", - "thiserror 2.0.12", + "thiserror 1.0.69", "tracing", "unicode-width", ] @@ -8990,29 +8980,28 @@ dependencies = [ [[package]] name = "svm-rs" -version = "0.5.16" +version = "0.5.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62d304f1b54e9c83ec8f0537c9dd40d46344bd9142cc528d5242c4b6fe11ced0" +checksum = "909e8ff825120cd2b34ceb236ab72e2a7f74b1d3a86c247936c8ff7a80c5d408" dependencies = [ "const-hex", "dirs", - "fs4", "reqwest 0.12.20", "semver 1.0.26", "serde", "serde_json", "sha2 0.10.9", "tempfile", - "thiserror 2.0.12", + "thiserror 1.0.69", "url", - "zip 2.4.2", + "zip 4.2.0", ] [[package]] name = "svm-rs-builds" -version = "0.5.16" +version = "0.5.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ed5035d2abae3cd98c201b116ff22a82861589c060f3e4b687ce951cf381a6e" +checksum = "c1ebe77b200f965e8dbec3ef1d8337e974179ca1ecaa9fc28f67288d6b438159" dependencies = [ "const-hex", "semver 1.0.26", @@ -10178,7 +10167,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] diff --git a/tauri-app/src-tauri/Cargo.lock b/tauri-app/src-tauri/Cargo.lock index 0f6d485d7c..2f0e8a0739 100644 --- a/tauri-app/src-tauri/Cargo.lock +++ b/tauri-app/src-tauri/Cargo.lock @@ -1718,7 +1718,7 @@ dependencies = [ "futures-core", "futures-io", "futures-lite", - "gloo-timers", + "gloo-timers 0.3.0", "kv-log-macro", "log", "memchr", @@ -5137,6 +5137,18 @@ dependencies = [ "regex-syntax 0.8.5", ] +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + [[package]] name = "gloo-timers" version = "0.3.0" @@ -8932,6 +8944,7 @@ version = "0.0.0-alpha.0" dependencies = [ "alloy", "derive_builder 0.20.2", + "futures", "rain_orderbook_bindings", "reqwest 0.12.20", "serde", @@ -8972,6 +8985,7 @@ dependencies = [ "flate2", "futures", "getrandom 0.2.16", + "gloo-timers 0.2.6", "itertools 0.14.0", "once_cell", "proptest", @@ -9000,8 +9014,10 @@ dependencies = [ "tower", "tracing", "url", + "wasm-bindgen-futures", "wasm-bindgen-test", "wasm-bindgen-utils 0.0.10 (git+https://github.com/rainlanguage/rain.wasm?rev=06990d85a0b7c55378a1c8cca4dd9e2bc34a596a)", + "web-sys", ] [[package]] From 0586478a2deda138e79620eebf7abf68896517ce Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 12:08:10 +0300 Subject: [PATCH 02/13] update rainix --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index fa9aa44c33..04b900462a 100644 --- a/flake.lock +++ b/flake.lock @@ -384,11 +384,11 @@ "solc": "solc_2" }, "locked": { - "lastModified": 1761735588, - "narHash": "sha256-414jL0IpGHzOztZIvd/ePiPakus+OFZ51A1xlEVHhN4=", + "lastModified": 1765265274, + "narHash": "sha256-VePuikXRg4rZGK0av4bmC/J0exj8BlgoRHvoxFz1PKo=", "owner": "rainlanguage", "repo": "rainix", - "rev": "8354e4956ed60f33135598750e4442f075a23c10", + "rev": "507b05a12cca55a56accb1ec0f8351098c4e1131", "type": "github" }, "original": { From 0d27661786cfd14f8444e1e334ce2cb6eaeefca8 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 12:08:18 +0300 Subject: [PATCH 03/13] run static analysis --- crates/common/src/rpc_client.rs | 2 +- crates/quote/src/quote.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/common/src/rpc_client.rs b/crates/common/src/rpc_client.rs index 956ba6c335..005005f60f 100644 --- a/crates/common/src/rpc_client.rs +++ b/crates/common/src/rpc_client.rs @@ -83,7 +83,7 @@ impl RpcClient { pub fn new_with_hyper_rpc(chain_id: u32, api_token: &str) -> Result { let url = Self::build_hyper_url(chain_id, api_token)?; - let provider = Arc::new(mk_read_provider(&[url.clone()])?); + let provider = Arc::new(mk_read_provider(std::slice::from_ref(&url))?); Ok(Self { chain_id: Some(chain_id), rpc_urls: vec![url], diff --git a/crates/quote/src/quote.rs b/crates/quote/src/quote.rs index 19268077ef..4ca63670a4 100644 --- a/crates/quote/src/quote.rs +++ b/crates/quote/src/quote.rs @@ -78,7 +78,7 @@ impl QuoteTarget { multicall_address: Option
, ) -> Result { Ok(batch_quote( - &[self.clone()], + std::slice::from_ref(self), rpcs, block_number, gas, From a2f1334d834e4a3896faa858e4b768596c5b4b3d Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 13:23:51 +0300 Subject: [PATCH 04/13] fix space issue --- prep-webapp.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/prep-webapp.sh b/prep-webapp.sh index f0b1ae6ec2..b43ae553ef 100755 --- a/prep-webapp.sh +++ b/prep-webapp.sh @@ -29,6 +29,13 @@ keep=( echo "Preparing base setup..." ./prep-base.sh +if [ "${CI:-}" = "true" ]; then + echo "Cleaning up target directories for builds..." + rm -rf target || true + rm -rf lib/rain.interpreter/target || true + rm -rf lib/rain.tofu.erc20-decimals/target || true +fi + echo "Building packages..." nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/orderbook)' nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)' From 0337d90c275a41207ff66401908ff394f6456f8b Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 13:24:39 +0300 Subject: [PATCH 05/13] update --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c1e9a627b2..42503c09f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8647,7 +8647,7 @@ dependencies = [ "solar-config", "solar-data-structures", "solar-macros", - "thiserror 1.0.69", + "thiserror 2.0.12", "tracing", "unicode-width", ] @@ -8992,7 +8992,7 @@ dependencies = [ "serde_json", "sha2 0.10.9", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.12", "url", "zip 4.2.0", ] From adbc940b93ec68b0d421aae688f1ea413a246005 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 13:49:27 +0300 Subject: [PATCH 06/13] update prep script --- prep-webapp.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/prep-webapp.sh b/prep-webapp.sh index b43ae553ef..f0b1ae6ec2 100755 --- a/prep-webapp.sh +++ b/prep-webapp.sh @@ -29,13 +29,6 @@ keep=( echo "Preparing base setup..." ./prep-base.sh -if [ "${CI:-}" = "true" ]; then - echo "Cleaning up target directories for builds..." - rm -rf target || true - rm -rf lib/rain.interpreter/target || true - rm -rf lib/rain.tofu.erc20-decimals/target || true -fi - echo "Building packages..." nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/orderbook)' nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)' From 09a0bc23154fb0e18e748c0d2ea938d3339130a1 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 14:36:00 +0300 Subject: [PATCH 07/13] update submodule --- lib/rain.interpreter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rain.interpreter b/lib/rain.interpreter index d1fee1b9c4..41ac1b9053 160000 --- a/lib/rain.interpreter +++ b/lib/rain.interpreter @@ -1 +1 @@ -Subproject commit d1fee1b9c4a427ebd529b9c0b0e17718c1a4a99a +Subproject commit 41ac1b9053c11a4084f2cf740f0a9ccf156e2ae5 From 67b50021dfb95f61416eefe81e47f674471c462d Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 14:38:07 +0300 Subject: [PATCH 08/13] update dependencies --- crates/test_fixtures/Cargo.toml | 2 +- tauri-app/src-tauri/Cargo.lock | 25 +++++++------------------ 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/crates/test_fixtures/Cargo.toml b/crates/test_fixtures/Cargo.toml index a42d187277..404446079c 100644 --- a/crates/test_fixtures/Cargo.toml +++ b/crates/test_fixtures/Cargo.toml @@ -23,4 +23,4 @@ alloy = { workspace = true, features = [ ] } [target.'cfg(target_family = "wasm")'.dependencies] -getrandom = { version = "0", features = ["js", "js-sys"] } +getrandom = { version = "0.2", features = ["js"] } diff --git a/tauri-app/src-tauri/Cargo.lock b/tauri-app/src-tauri/Cargo.lock index 2f0e8a0739..e4f825230a 100644 --- a/tauri-app/src-tauri/Cargo.lock +++ b/tauri-app/src-tauri/Cargo.lock @@ -2734,7 +2734,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] @@ -4711,16 +4711,6 @@ dependencies = [ "num", ] -[[package]] -name = "fs4" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4" -dependencies = [ - "rustix 1.0.7", - "windows-sys 0.59.0", -] - [[package]] name = "fsevent-sys" version = "4.1.0" @@ -11395,13 +11385,12 @@ dependencies = [ [[package]] name = "svm-rs" -version = "0.5.16" +version = "0.5.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62d304f1b54e9c83ec8f0537c9dd40d46344bd9142cc528d5242c4b6fe11ced0" +checksum = "909e8ff825120cd2b34ceb236ab72e2a7f74b1d3a86c247936c8ff7a80c5d408" dependencies = [ "const-hex", "dirs 6.0.0", - "fs4", "reqwest 0.12.20", "semver 1.0.26", "serde", @@ -11410,14 +11399,14 @@ dependencies = [ "tempfile", "thiserror 2.0.12", "url", - "zip 2.4.2", + "zip 4.1.0", ] [[package]] name = "svm-rs-builds" -version = "0.5.16" +version = "0.5.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ed5035d2abae3cd98c201b116ff22a82861589c060f3e4b687ce951cf381a6e" +checksum = "c1ebe77b200f965e8dbec3ef1d8337e974179ca1ecaa9fc28f67288d6b438159" dependencies = [ "const-hex", "semver 1.0.26", @@ -13319,7 +13308,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] From 54b62861f919960027c7499034e25f4c863df0c2 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 15:23:50 +0300 Subject: [PATCH 09/13] bump rain.interpreter --- lib/rain.interpreter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rain.interpreter b/lib/rain.interpreter index 41ac1b9053..134e1ce0af 160000 --- a/lib/rain.interpreter +++ b/lib/rain.interpreter @@ -1 +1 @@ -Subproject commit 41ac1b9053c11a4084f2cf740f0a9ccf156e2ae5 +Subproject commit 134e1ce0afebd2bbedb31adf3e440d7333ec53c8 From 5a80763995e1d6e111458bc53c1bc04722489af8 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 15:41:33 +0300 Subject: [PATCH 10/13] update scripts and workflows --- .github/workflows/test-ui-components.yaml | 25 ++++++++++++++++++++++- .github/workflows/test-webapp.yaml | 25 ++++++++++++++++++++++- prep-webapp.sh | 5 +++++ 3 files changed, 53 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-ui-components.yaml b/.github/workflows/test-ui-components.yaml index 05912b291b..052fdbb90a 100644 --- a/.github/workflows/test-ui-components.yaml +++ b/.github/workflows/test-ui-components.yaml @@ -23,6 +23,23 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Free disk space + run: | + sudo rm -rf \ + "$AGENT_TOOLSDIRECTORY" \ + /opt/microsoft/msedge \ + /opt/microsoft/powershell \ + /opt/pipx \ + /usr/lib/mono \ + /usr/local/julia* \ + /usr/local/lib/android \ + /usr/local/lib/node_modules \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift \ + /opt/google/chrome \ + /usr/local/share/chromium + - uses: nixbuild/nix-quick-install-action@v30 with: nix_conf: | @@ -38,11 +55,17 @@ jobs: # collect garbage until the Nix store size (in bytes) is at most this number # before trying to save a new cache # 1G = 1073741824 - gc-max-store-size-linux: 1G + gc-max-store-size-linux: 10G - run: ./prep-webapp.sh env: PUBLIC_WALLETCONNECT_PROJECT_ID: ${{ secrets.WALLETCONNECT_PROJECT_ID || 'test' }} + COMMIT_SHA: ${{ github.sha }} + CARGO_HOME: ${{ github.workspace }}/.cargo + CARGO_TARGET_DIR: ${{ github.workspace }}/.cargo/target + + - name: Cleanup Rust artifacts after prep + run: rm -rf .cargo target || true - run: nix develop -c npm run svelte-lint-format-check -w @rainlanguage/ui-components diff --git a/.github/workflows/test-webapp.yaml b/.github/workflows/test-webapp.yaml index 6e8813a8ac..1a40598f5d 100644 --- a/.github/workflows/test-webapp.yaml +++ b/.github/workflows/test-webapp.yaml @@ -23,6 +23,23 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Free disk space + run: | + sudo rm -rf \ + "$AGENT_TOOLSDIRECTORY" \ + /opt/microsoft/msedge \ + /opt/microsoft/powershell \ + /opt/pipx \ + /usr/lib/mono \ + /usr/local/julia* \ + /usr/local/lib/android \ + /usr/local/lib/node_modules \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift \ + /opt/google/chrome \ + /usr/local/share/chromium + - uses: nixbuild/nix-quick-install-action@v30 with: nix_conf: | @@ -38,11 +55,17 @@ jobs: # collect garbage until the Nix store size (in bytes) is at most this number # before trying to save a new cache # 1G = 1073741824 - gc-max-store-size-linux: 1G + gc-max-store-size-linux: 10G - run: ./prep-webapp.sh env: PUBLIC_WALLETCONNECT_PROJECT_ID: ${{ secrets.WALLETCONNECT_PROJECT_ID || 'test' }} + COMMIT_SHA: ${{ github.sha }} + CARGO_HOME: ${{ github.workspace }}/.cargo + CARGO_TARGET_DIR: ${{ github.workspace }}/.cargo/target + + - name: Cleanup Rust artifacts after prep + run: rm -rf .cargo target || true - run: nix develop -c npm run svelte-lint-format-check -w @rainlanguage/webapp env: diff --git a/prep-webapp.sh b/prep-webapp.sh index f0b1ae6ec2..0f430ab51c 100755 --- a/prep-webapp.sh +++ b/prep-webapp.sh @@ -29,8 +29,13 @@ keep=( echo "Preparing base setup..." ./prep-base.sh +rm -rf .cargo target || true + echo "Building packages..." nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/orderbook)' + +rm -rf .cargo target || true + nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)' # Temporarily disable command echoing From 0fb4f0c8b8b2a46766d8478200394a5c40f1b1eb Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Tue, 9 Dec 2025 17:02:58 +0300 Subject: [PATCH 11/13] update scripts/workflows --- .github/workflows/test-ui-components.yaml | 2 +- .github/workflows/test-webapp.yaml | 2 +- prep-webapp.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-ui-components.yaml b/.github/workflows/test-ui-components.yaml index 052fdbb90a..b6de8f4e1c 100644 --- a/.github/workflows/test-ui-components.yaml +++ b/.github/workflows/test-ui-components.yaml @@ -65,7 +65,7 @@ jobs: CARGO_TARGET_DIR: ${{ github.workspace }}/.cargo/target - name: Cleanup Rust artifacts after prep - run: rm -rf .cargo target || true + run: rm -rf target || true - run: nix develop -c npm run svelte-lint-format-check -w @rainlanguage/ui-components diff --git a/.github/workflows/test-webapp.yaml b/.github/workflows/test-webapp.yaml index 1a40598f5d..f5529d2896 100644 --- a/.github/workflows/test-webapp.yaml +++ b/.github/workflows/test-webapp.yaml @@ -65,7 +65,7 @@ jobs: CARGO_TARGET_DIR: ${{ github.workspace }}/.cargo/target - name: Cleanup Rust artifacts after prep - run: rm -rf .cargo target || true + run: rm -rf target || true - run: nix develop -c npm run svelte-lint-format-check -w @rainlanguage/webapp env: diff --git a/prep-webapp.sh b/prep-webapp.sh index 0f430ab51c..0fd52e7a26 100755 --- a/prep-webapp.sh +++ b/prep-webapp.sh @@ -29,12 +29,12 @@ keep=( echo "Preparing base setup..." ./prep-base.sh -rm -rf .cargo target || true +rm -rf target || true echo "Building packages..." nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/orderbook)' -rm -rf .cargo target || true +rm -rf target || true nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)' From 570a3b83d8c200046ec9c0cde33f809d0c4fa5c2 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Wed, 10 Dec 2025 16:15:53 +0300 Subject: [PATCH 12/13] point rainix to main --- flake.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 04b900462a..f3f1104e2c 100644 --- a/flake.lock +++ b/flake.lock @@ -384,11 +384,11 @@ "solc": "solc_2" }, "locked": { - "lastModified": 1765265274, + "lastModified": 1765371510, "narHash": "sha256-VePuikXRg4rZGK0av4bmC/J0exj8BlgoRHvoxFz1PKo=", "owner": "rainlanguage", "repo": "rainix", - "rev": "507b05a12cca55a56accb1ec0f8351098c4e1131", + "rev": "b074f64cc366016d5d4fa99f585f9f5b0661a92b", "type": "github" }, "original": { From 59cbdcc4cb32945179fff8d0ddd7acec1b8a7b10 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Thu, 11 Dec 2025 09:02:15 +0300 Subject: [PATCH 13/13] update workflows --- .github/workflows/test-ui-components.yaml | 16 +--------------- .github/workflows/test-webapp.yaml | 16 +--------------- .github/workflows/vercel-docs-preview.yaml | 3 +++ .github/workflows/vercel-preview.yaml | 3 +++ .github/workflows/vercel-prod.yaml | 3 +++ 5 files changed, 11 insertions(+), 30 deletions(-) diff --git a/.github/workflows/test-ui-components.yaml b/.github/workflows/test-ui-components.yaml index b6de8f4e1c..267ca9c30a 100644 --- a/.github/workflows/test-ui-components.yaml +++ b/.github/workflows/test-ui-components.yaml @@ -24,21 +24,7 @@ jobs: fetch-depth: 0 - name: Free disk space - run: | - sudo rm -rf \ - "$AGENT_TOOLSDIRECTORY" \ - /opt/microsoft/msedge \ - /opt/microsoft/powershell \ - /opt/pipx \ - /usr/lib/mono \ - /usr/local/julia* \ - /usr/local/lib/android \ - /usr/local/lib/node_modules \ - /usr/local/share/powershell \ - /usr/share/dotnet \ - /usr/share/swift \ - /opt/google/chrome \ - /usr/local/share/chromium + uses: jlumbroso/free-disk-space@v1.3.1 - uses: nixbuild/nix-quick-install-action@v30 with: diff --git a/.github/workflows/test-webapp.yaml b/.github/workflows/test-webapp.yaml index f5529d2896..85b914f674 100644 --- a/.github/workflows/test-webapp.yaml +++ b/.github/workflows/test-webapp.yaml @@ -24,21 +24,7 @@ jobs: fetch-depth: 0 - name: Free disk space - run: | - sudo rm -rf \ - "$AGENT_TOOLSDIRECTORY" \ - /opt/microsoft/msedge \ - /opt/microsoft/powershell \ - /opt/pipx \ - /usr/lib/mono \ - /usr/local/julia* \ - /usr/local/lib/android \ - /usr/local/lib/node_modules \ - /usr/local/share/powershell \ - /usr/share/dotnet \ - /usr/share/swift \ - /opt/google/chrome \ - /usr/local/share/chromium + uses: jlumbroso/free-disk-space@v1.3.1 - uses: nixbuild/nix-quick-install-action@v30 with: diff --git a/.github/workflows/vercel-docs-preview.yaml b/.github/workflows/vercel-docs-preview.yaml index 804b8907d4..783d0b9b89 100644 --- a/.github/workflows/vercel-docs-preview.yaml +++ b/.github/workflows/vercel-docs-preview.yaml @@ -24,6 +24,9 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Free disk space + uses: jlumbroso/free-disk-space@v1.3.1 + - uses: DeterminateSystems/nix-installer-action@main with: determinate: true diff --git a/.github/workflows/vercel-preview.yaml b/.github/workflows/vercel-preview.yaml index 4f362ca351..43a3947249 100644 --- a/.github/workflows/vercel-preview.yaml +++ b/.github/workflows/vercel-preview.yaml @@ -37,6 +37,9 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Free disk space + uses: jlumbroso/free-disk-space@v1.3.1 + - uses: nixbuild/nix-quick-install-action@v30 with: nix_conf: | diff --git a/.github/workflows/vercel-prod.yaml b/.github/workflows/vercel-prod.yaml index 1143074868..14206054fe 100644 --- a/.github/workflows/vercel-prod.yaml +++ b/.github/workflows/vercel-prod.yaml @@ -20,6 +20,9 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Free disk space + uses: jlumbroso/free-disk-space@v1.3.1 + - uses: nixbuild/nix-quick-install-action@v30 with: nix_conf: |