From e1cc8d8b99d7c95d50748ee20d74c309233aecb4 Mon Sep 17 00:00:00 2001 From: Wyatt Stanke Date: Wed, 28 Feb 2024 17:21:16 -0500 Subject: [PATCH] Try to free up a little bit of disk space for GH actions --- .github/library/setup/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/library/setup/action.yml b/.github/library/setup/action.yml index 4a961b6d..95dd30e0 100644 --- a/.github/library/setup/action.yml +++ b/.github/library/setup/action.yml @@ -9,6 +9,11 @@ inputs: runs: using: "composite" steps: + - name: Free up disk space + run: | + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + shell: bash - name: Set up Python ${{ inputs.python-version }} uses: actions/setup-python@v4 with: @@ -27,7 +32,7 @@ runs: key: venv-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install --no-interaction --no-root --all-extras + run: poetry install --no-interaction --no-root shell: bash - name: Activate venv run: |