更新 GitHub Actions 工作流,添加 Java 测试缓存和 Redis 服务测试,删除不再使用的工作流

This commit is contained in:
严浩
2025-02-22 16:20:08 +08:00
parent 35784d9a9e
commit b61ed2be1c
4 changed files with 14 additions and 20 deletions

14
.github/workflows/services-test.yaml vendored Normal file
View File

@@ -0,0 +1,14 @@
on:
push:
jobs:
services-test:
runs-on: ubuntu-latest
services:
redis:
image: redis:alpine
ports:
- 6379:6379
steps:
- name: Test with Redis
run: |
docker ps --format "table {{.Names}}\t{{.Ports}}"