diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 94e2c90..ffe4a10 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -49,6 +49,36 @@ jobs: export SLACK_APP_TOKEN=${{ secrets.SLACK_APP_TOKEN }} export SLACK_BOT_TOKEN=${{ secrets.SLACK_BOT_TOKEN }} EOF + - name: Clean up unnecessary files + run: | + docker image prune -af + sudo rm -rf /home/linuxbrew || true + sudo rm -rf /opt/az || true + sudo rm -rf /opt/microsoft || true + sudo rm -rf /opt/pipx || true + sudo rm -rf /opt/google || true + sudo rm -rf /usr/share/dotnet || true + sudo rm -rf /usr/local/lib/android || true + sudo rm -rf /usr/local/share/boost || true + sudo rm -rf /usr/lib/jvm || true + sudo rm -rf /usr/share/swift || true + sudo rm -rf /usr/local/julia* || true + sudo rm -rf /usr/local/n || true + sudo rm -rf /usr/share/kotlinc || true + sudo rm -rf /usr/local/share/edge_driver || true + sudo rm -rf /usr/local/share/chromedriver-linux64 || true + sudo rm -rf /usr/local/share/gecko_driver || true + sudo rm -rf /usr/share/miniconda || true + sudo rm -rf /usr/local/share/phantomjs* || true + sudo rm -rf /usr/share/sbt || true + sudo rm -rf /usr/local/aws-cli || true + sudo rm -rf /usr/local/aws-sam-cli || true + sudo rm -rf /usr/local/sqlpackage || true + sudo rm -rf /usr/local/bin/minikube || true + sudo rm -rf /usr/local/bin/kustomize || true + sudo rm -rf /usr/local/bin/kubectl || true + sudo rm -rf /usr/local/bin/kind || true + sudo rm -rf /usr/local/bin/helm || true - run: make setup KINDTEST_K8S_VERSION=${{ matrix.k8s-version }} - run: make -C kindtest start KINDTEST_K8S_VERSION=${{ matrix.k8s-version }} - run: make -C kindtest test