Fix "No space left on device" in build job

- Add "Maximize Build Space" step to Build job, to prevent
  `System.IO.IOException: No space left on device`. (It was
  already in the Inspect code and Verify plugin jobs.)
- Also add it to the Test job, assuming that will start running
  out of space soon too.
- Pin jlumbroso/free-disk-space action to particular version
  to avoid unexpected workflow behavior changes.
This commit is contained in:
Mike Edmunds 2024-10-11 12:39:46 -07:00 committed by GitHub
parent 98cba4ff31
commit 85a234369b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,6 +36,13 @@ jobs:
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
steps:
# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
@ -100,6 +107,13 @@ jobs:
runs-on: ubuntu-latest
steps:
# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
@ -146,7 +160,7 @@ jobs:
# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@main
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false
@ -180,7 +194,7 @@ jobs:
# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@main
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false