From fda94359d2220acbbd0cfedac2df5dcc6010c151 Mon Sep 17 00:00:00 2001 From: Bushstar Date: Fri, 12 Jan 2024 08:43:43 +0000 Subject: [PATCH] Increase swap space --- .github/workflows/tests.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b214875661c..be5deacb684 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -30,6 +30,21 @@ jobs: CARGO_INCREMENTAL: 0 steps: + - name: Display initial swap space + run: | + echo "Initial swap space:" + sudo swapon --show + + - name: Maximize build space + uses: easimon/maximize-build-space@master + with: + swap-size-mb: 8192 + + - name: Display updated swap space + run: | + echo "Updated swap space:" + sudo swapon --show + - name: Checkout base branch and/or merge if: github.event_name != 'pull_request' uses: actions/checkout@v4