Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

ci: time out hung jobs

Maxfield Allisonc18f5c4a3433
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f603871b..ad0dfd3f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,6 +23,7 @@ jobs:
typescript:
name: TypeScript (node${{ matrix.node }})
runs-on: ubuntu-latest
+ timeout-minutes: 10
defaults:
run:
working-directory: laya-ts
@@ -46,6 +47,7 @@ jobs:
feishu-benchmark:
name: Chinese benchmark audit (no models or API)
runs-on: ubuntu-latest
+ timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
@@ -57,6 +59,7 @@ jobs:
test:
name: tests (py${{ matrix.python }})
runs-on: ubuntu-latest
+ timeout-minutes: 15
strategy:
fail-fast: false
matrix:
@@ -126,6 +129,7 @@ jobs:
test-windows:
name: tests (windows)
runs-on: windows-latest
+ timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
@@ -187,6 +191,7 @@ jobs:
lint:
name: lint
runs-on: ubuntu-latest
+ timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
@@ -201,6 +206,7 @@ jobs:
build:
name: package
runs-on: ubuntu-latest
+ timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
index 4bb70bee..91d924b5 100644
--- a/.github/workflows/security.yml
+++ b/.github/workflows/security.yml
@@ -19,6 +19,7 @@ jobs:
secrets:
name: secret scan
runs-on: ubuntu-latest
+ timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
@@ -44,6 +45,7 @@ jobs:
deps:
name: dependency CVEs
runs-on: ubuntu-latest
+ timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
@@ -68,6 +70,7 @@ jobs:
codeql:
name: CodeQL
runs-on: ubuntu-latest
+ timeout-minutes: 15
permissions:
security-events: write
actions: read
@@ -83,6 +86,7 @@ jobs:
supply_chain:
name: no unsafe deserialization
runs-on: ubuntu-latest
+ timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Weights must load through safetensors, never pickle