From 7e273152074846ff7366eb5f0c65f38e435c813e Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Wed, 27 Sep 2023 21:00:32 -0400 Subject: [PATCH] Attempt to reduce full-stack CI disk usage --- .github/workflows/full-stack-tests.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/full-stack-tests.yml b/.github/workflows/full-stack-tests.yml index f764bc83..7fd71a6b 100644 --- a/.github/workflows/full-stack-tests.yml +++ b/.github/workflows/full-stack-tests.yml @@ -15,10 +15,25 @@ jobs: steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - - name: Install Build Dependencies - uses: ./.github/actions/build-dependencies + # - name: Install Build Dependencies + # uses: ./.github/actions/build-dependencies + # with: + # github-token: ${{ inputs.github-token }} + + # Inlined build-dependencies action to minimize disk usage + - name: Install Protobuf + uses: arduino/setup-protoc@a8b67ba40b37d35169e222f3bb352603327985b6 with: - github-token: ${{ inputs.github-token }} + repo-token: ${{ inputs.github-token }} + + - name: Install Rust + uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0 + with: + toolchain: stable + targets: wasm32-unknown-unknown + + - name: Remove unused packages + run: sudo apt remove -y *powershell* *bazel* *nodejs* *npm* *yarn* *terraform* *firefox* *chromium* *texinfo* *sqlite3* *imagemagick* && sudo apt autoremove -y - name: Run Full Stack Docker tests run: cd tests/full-stack && GITHUB_CI=true RUST_BACKTRACE=1 cargo test