CI: increase dead domains check shards

This commit is contained in:
SukkaW
2026-07-16 03:13:10 +08:00
parent 9449fa23f5
commit acfc2ecdf2

View File

@@ -5,7 +5,7 @@ on:
jobs: jobs:
check: check:
name: Check (shard ${{ matrix.shard }}/4) name: Check (shard ${{ matrix.shard }}/6)
runs-on: ubuntu-slim runs-on: ubuntu-slim
strategy: strategy:
@@ -13,9 +13,9 @@ jobs:
# collect dead domains from the rest. # collect dead domains from the rest.
fail-fast: false fail-fast: false
matrix: matrix:
# 4 shards -> 4 runners, each lands on a different Azure region / egress # 6 shards -> 6 runners, each lands on a different Azure region / egress
# IP, spreading DoH load and reducing per-server rate limiting. # IP, spreading DoH load and reducing per-server rate limiting.
shard: [0, 1, 2, 3] shard: [0, 1, 2, 3, 4, 5]
steps: steps:
# - name: Tune GitHub-hosted runner network # - name: Tune GitHub-hosted runner network
@@ -64,7 +64,7 @@ jobs:
env: env:
DEBUG: domain-alive:dead-domain,domain-alive:error:* DEBUG: domain-alive:dead-domain,domain-alive:error:*
SHARD_INDEX: ${{ matrix.shard }} SHARD_INDEX: ${{ matrix.shard }}
SHARD_TOTAL: 4 SHARD_TOTAL: 6
- name: Cache cache.db - name: Cache cache.db
if: always() if: always()
uses: actions/cache/save@v5 uses: actions/cache/save@v5