更新 GitHub Actions 工作流,添加 Java 测试缓存和 Redis 服务测试,删除不再使用的工作流
Some checks are pending
/ test-timezone (push) Waiting to run
/ hashFiles (push) Successful in -7s
/ go-hashfiles (push) Successful in 13s
/ services-test (push) Successful in -1s
/ job3 (push) Has been skipped
/ job1 (push) Successful in -7s
/ job2 (push) Successful in -33s
Some checks are pending
/ test-timezone (push) Waiting to run
/ hashFiles (push) Successful in -7s
/ go-hashfiles (push) Successful in 13s
/ services-test (push) Successful in -1s
/ job3 (push) Has been skipped
/ job1 (push) Successful in -7s
/ job2 (push) Successful in -33s
This commit is contained in:
7
.github/workflows/docker-run.yaml
vendored
7
.github/workflows/docker-run.yaml
vendored
@ -1,7 +0,0 @@
|
|||||||
on:
|
|
||||||
push:
|
|
||||||
jobs:
|
|
||||||
docker-run:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: docker run --rm --quiet postgres:14-alpine pg_dump --version
|
|
13
.github/workflows/git-log.yaml
vendored
13
.github/workflows/git-log.yaml
vendored
@ -1,13 +0,0 @@
|
|||||||
on:
|
|
||||||
push:
|
|
||||||
jobs:
|
|
||||||
git-log:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: 📥 检出代码
|
|
||||||
uses: actions/checkout@main
|
|
||||||
with:
|
|
||||||
fetch-depth: 5
|
|
||||||
- name: 📝 提交日志
|
|
||||||
run: |
|
|
||||||
git --no-pager log --pretty=format:"%h %ad %s" --date=format:'%Y-%m-%d %H:%M:%S'
|
|
14
.github/workflows/services-test.yaml
vendored
Normal file
14
.github/workflows/services-test.yaml
vendored
Normal 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}}"
|
Reference in New Issue
Block a user