From 0671aa619da02e1ed3c01f9843298c42c74f72e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=BChmer?= Date: Fri, 16 Aug 2024 22:12:57 +0200 Subject: [PATCH] fix: Run cleanup before install .NET --- .github/workflows/step-dotnet-tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/step-dotnet-tests.yml b/.github/workflows/step-dotnet-tests.yml index 259e386..04a1931 100644 --- a/.github/workflows/step-dotnet-tests.yml +++ b/.github/workflows/step-dotnet-tests.yml @@ -62,12 +62,6 @@ jobs: submodules: recursive token: ${{ secrets.FETCH_TOKEN || github.token }} - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: ${{ inputs.dotnet-version }} - dotnet-quality: ${{ inputs.dotnet-quality }} - # Our modules occupy too much disk space. The GitHub-hosted runners ran into the # error: "no space left on device." The pulled images are not cleaned up between # the test runs. One obvious approach is splitting the tests and running them on @@ -86,6 +80,12 @@ jobs: docker-images: true swap-storage: false + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: ${{ inputs.dotnet-version }} + dotnet-quality: ${{ inputs.dotnet-quality }} + - name: Setup JDK 17 if: ${{ inputs.enableSonarQube == true }} uses: actions/setup-java@v4