add workflow timeout limit

This commit is contained in:
sunxyw 2023-01-04 15:33:38 +08:00
parent 3596d6077d
commit 863c2d8c7a
No known key found for this signature in database
GPG Key ID: F391C42B19AFFC98
3 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@ jobs:
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Code Style
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3

View File

@ -24,6 +24,7 @@ jobs:
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Static Analysis
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3

View File

@ -36,6 +36,7 @@ jobs:
php-version: [ 8.0, 8.1, 8.2 ]
name: PHP ${{ matrix.php-version }} Test (${{ matrix.operating-system }})
runs-on: ${{ matrix.operating-system }}
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3