Skip to content

Commit

Permalink
Add action that frees up a bunch of memory
Browse files Browse the repository at this point in the history
  • Loading branch information
ianohara committed Feb 4, 2025
1 parent f8c74ce commit 32b8319
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ jobs:
contents: read
runs-on: ubuntu-22.04
steps:
# Our workflows were running out of memory. We don't need most of the pre-installed machinery in the
# github ubuntu image, so remove it using this helper action.
# See: https://github.com/marketplace/actions/free-disk-space-ubuntu
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Checkout the Squid repo
uses: actions/checkout@v4
- name: Run the setup script for Ubuntu 22.04
Expand All @@ -31,4 +44,4 @@ jobs:
working-directory: "${{ runner.temp }}/Squid/software"
- name: Run the tests
run: python3 -m pytest
working-directory: "${{ runner.temp }}/Squid/software"
working-directory: "${{ runner.temp }}/Squid/software"

0 comments on commit 32b8319

Please sign in to comment.