Skip to content

Commit 4e558a4

Browse files
committed
检查链接
1 parent f671c90 commit 4e558a4

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check Markdown links
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
test-and-build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
persist-credentials: false
17+
fetch-depth: 0
18+
19+
- uses: gaurav-nelson/github-action-markdown-link-check@v1

.github/workflows/main.yml renamed to .github/workflows/restructure_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Format files
1+
name: Restructure files
22

33
on:
44
push:
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Prettier
2020
run: npm install --save-dev --save-exact prettier
2121

22-
- name: Format files
22+
- name: Restructure files
2323
run: node_modules/.bin/prettier --write README.md animation-simulation/
2424

2525
- name: Commit files

0 commit comments

Comments
 (0)