mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 08:35:35 +08:00
add workflow timeout limit
This commit is contained in:
1
.github/workflows/coding-style.yml
vendored
1
.github/workflows/coding-style.yml
vendored
@@ -24,6 +24,7 @@ jobs:
|
|||||||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
||||||
name: Code Style
|
name: Code Style
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
1
.github/workflows/static-analysis.yml
vendored
1
.github/workflows/static-analysis.yml
vendored
@@ -24,6 +24,7 @@ jobs:
|
|||||||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
||||||
name: Static Analysis
|
name: Static Analysis
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -36,6 +36,7 @@ jobs:
|
|||||||
php-version: [ 8.0, 8.1, 8.2 ]
|
php-version: [ 8.0, 8.1, 8.2 ]
|
||||||
name: PHP ${{ matrix.php-version }} Test (${{ matrix.operating-system }})
|
name: PHP ${{ matrix.php-version }} Test (${{ matrix.operating-system }})
|
||||||
runs-on: ${{ matrix.operating-system }}
|
runs-on: ${{ matrix.operating-system }}
|
||||||
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user