ci: limit redis service setup to 5.0.x PR workflow

This commit is contained in:
老周
2026-04-25 19:16:13 +08:00
parent 4f9129cd8c
commit aef5a674ba

View File

@@ -8,6 +8,16 @@ jobs:
build:
runs-on: ubuntu-latest
services:
redis:
image: redis:7-alpine
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v1