Skip to content

Commit

Permalink
Added CI job step to free some space in runner image
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrug committed Oct 25, 2024
1 parent b910a21 commit 7082d38
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/playground-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ jobs:
playground-check:
runs-on: ubuntu-latest
steps:
- name: Free space check #1
run: df -h

- 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: Free space check #2
run: df -h

- name: Checkout code
uses: actions/checkout@v4

Expand All @@ -17,6 +34,9 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Free space check #3
run: df -h

- name: Setup environment
run: |
cp playground/.env.example playground/.env
Expand All @@ -28,6 +48,9 @@ jobs:
cd playground
docker compose -f docker-compose.fork.yml up -d
- name: Free space check #4
run: df -h

- name: Execute validation script
run: |
cd playground
Expand Down

0 comments on commit 7082d38

Please sign in to comment.