Skip to content

Commit

Permalink
Increase swap space
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Jan 12, 2024
1 parent 1bc8f0c commit fda9435
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fda9435

Please sign in to comment.