diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index db68820..03113f0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,6 +14,7 @@ jobs: test: name: Test Suite runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -30,7 +31,7 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - name: Install Dependencies - run: sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - name: Run cargo test run: cargo test @@ -38,6 +39,7 @@ jobs: clippy_check: name: Clippy runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -56,7 +58,7 @@ jobs: with: components: clippy - name: Install Dependencies - run: sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - name: Run clippy run: cargo clippy -- -D warnings @@ -64,6 +66,7 @@ jobs: format: name: Format runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Checkout sources uses: actions/checkout@v4