From c1fac3a1f3fa78ff72fe7f80d2b334b130632a19 Mon Sep 17 00:00:00 2001 From: Amatsugu Date: Sat, 5 Jul 2025 16:49:11 -0400 Subject: [PATCH] Workflow tweaks --- .github/workflows/ci.yaml | 8 ++++---- .github/workflows/release.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dd638f3..46e7239 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -44,7 +44,7 @@ jobs: - name: Install build dependencies if: steps.cache.outputs.cache-hit != 'true' - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev + run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run Clippy lints run: cargo clippy --locked --workspace --all-targets --profile ci --all-features @@ -72,7 +72,7 @@ jobs: - name: Install build dependencies if: steps.cache.outputs.cache-hit != 'true' - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev + run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run Bevy lints run: bevy_lint --locked --workspace --all-targets --profile ci --all-features @@ -103,7 +103,7 @@ jobs: save-if: ${{ github.ref == 'refs/heads/main' }} - name: Install build dependencies - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev + run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run tests run: cargo test --locked --workspace --all-targets --profile ci --no-fail-fast @@ -134,7 +134,7 @@ jobs: # - name: Install build dependencies # if: steps.cache.outputs.cache-hit != 'true' - # run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev + # run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev # - name: Check web # run: cargo check --config 'profile.web.inherits="dev"' --profile ci --no-default-features --features "dev web" --target wasm32-unknown-unknown diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eb3fa16..9c098f0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -190,7 +190,7 @@ jobs: - name: Install build dependencies (Linux) if: ${{ env.is_platform_enabled == 'true' && matrix.platform == 'linux' }} - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev + run: sudo apt-get -y update; sudo apt-get -y install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - name: Prepare output directories if: ${{ env.is_platform_enabled == 'true' }}