Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift-actions/setup-swift for v5.10.1 is using 10GB of the 14G storage space available in a macos-runner #682

Open
Aaron-Ritter opened this issue Sep 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Aaron-Ritter
Copy link

Aaron-Ritter commented Sep 7, 2024

Describe the bug
swift-actions/setup-swift is using 10GB of the 14G storage space available in a macos-runner.

Often causing the macos-runner when running builds to throw a warning You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 75 MB and shortly later exit with Unhandled exception. System.IO.IOException: No space left on device : ...

image

Workflow configuration (please complete the following information):

    strategy:
      fail-fast: false
      matrix:
        swift: ["5.10.1"]
        os: [macos-latest]
        include:
          - language: swift
            build-mode: manual
        # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
        # Use `c-cpp` to analyze code written in C, C++ or both
        # Use 'java-kotlin' to analyze code written in Java, Kotlin or both
        # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
        # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
        # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
        # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
        # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
    steps:
      - name: Check Disk Space 1
        run: df -h

      - name: Initialize latest xcode
        uses: maxim-lobanov/setup-xcode@v1.6.0
        with:
          xcode-version: latest-stable

      - name: Check Disk Space 2
        run: df -h

      - name: Initialize Swift
        uses: swift-actions/setup-swift@v2.1.0
        with:
          swift-version: ${{ matrix.swift }}

      - name: Check Disk Space 3
        run: df -h

      - name: Get swift version
        run: swift --version

      - name: Checkout repository
        uses: actions/checkout@v4.1.7

      - name: Check Disk Space 4
        run: df -h
@Aaron-Ritter Aaron-Ritter added the bug Something isn't working label Sep 7, 2024
@Aaron-Ritter Aaron-Ritter changed the title swift-actions/setup-swift is using 10GB of the 17G storage space available in a macos-runner swift-actions/setup-swift is using 10GB of the 14G storage space available in a macos-runner Sep 7, 2024
@Aaron-Ritter Aaron-Ritter changed the title swift-actions/setup-swift is using 10GB of the 14G storage space available in a macos-runner swift-actions/setup-swift for v5.10.1 is using 10GB of the 14G storage space available in a macos-runner Sep 7, 2024
@Aaron-Ritter
Copy link
Author

For reference actions/runner-images#2840

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants