From 85ae8b9273413ff91df7d7fbb9d033b4efa662ef Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Mon, 9 Mar 2026 15:00:47 +0100 Subject: [PATCH 1/2] feat: update GitHub Actions workflow for Rusty Linux --- .github/workflows/test_rusty_linux.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_rusty_linux.yml b/.github/workflows/test_rusty_linux.yml index b2a1472..53e6d9c 100644 --- a/.github/workflows/test_rusty_linux.yml +++ b/.github/workflows/test_rusty_linux.yml @@ -1,21 +1,23 @@ name: Test Rusty Linux -on: [push] +on: + push: + branches: [main] + pull_request: jobs: check: name: Rusty Linux strategy: matrix: os: [ubuntu-24.04, ubuntu-24.04-arm] + timeout-minutes: 15 runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install latest stable - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - toolchain: stable - override: true - components: rustfmt, clippy + components: rustfmt, clippy - name: Install Rusty Linux - run: chmod a+x ./RustyLinux.sh && ./RustyLinux.sh + run: bash ./RustyLinux.sh From dec7c04011dad13224d59a306e5ddd7c2b729989 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Mon, 9 Mar 2026 15:14:00 +0100 Subject: [PATCH 2/2] feat: increase timeout for Rusty Linux workflow Increased the timeout for the Rusty Linux workflow from 15 to 30 minutes. --- .github/workflows/test_rusty_linux.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_rusty_linux.yml b/.github/workflows/test_rusty_linux.yml index 53e6d9c..7db7a0d 100644 --- a/.github/workflows/test_rusty_linux.yml +++ b/.github/workflows/test_rusty_linux.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ubuntu-24.04, ubuntu-24.04-arm] - timeout-minutes: 15 + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -18,6 +18,7 @@ jobs: uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy + - uses: Swatinem/rust-cache@v2 - name: Install Rusty Linux run: bash ./RustyLinux.sh