From 8c71d77e587f94a33a3fdb54f87f51c64836cfd3 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 11 Sep 2019 10:32:51 +0200 Subject: [PATCH] Set stricter timeouts to deal with hanging tasks Example: https://github.com/phil-opp/blog_os/runs/218474634 --- .github/workflows/build-code.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-code.yml b/.github/workflows/build-code.yml index ee07fb82..4fe3f9df 100644 --- a/.github/workflows/build-code.yml +++ b/.github/workflows/build-code.yml @@ -24,6 +24,7 @@ jobs: ] runs-on: ${{ matrix.platform }} + timeout-minutes: 15 steps: - name: "Checkout Repository" @@ -62,6 +63,7 @@ jobs: check_formatting: name: "Check Formatting" runs-on: ubuntu-latest + timeout-minutes: 2 steps: - uses: actions/checkout@v1 - run: rustup component add rustfmt