mirror of
https://github.com/chefyuan/algorithm-base.git
synced 2024-11-24 13:03:41 +00:00
检查链接
This commit is contained in:
parent
f671c90754
commit
4e558a45da
19
.github/workflows/check_dead_links.yml
vendored
Normal file
19
.github/workflows/check_dead_links.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Check Markdown links
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test-and-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
@ -1,4 +1,4 @@
|
||||
name: Format files
|
||||
name: Restructure files
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -19,7 +19,7 @@ jobs:
|
||||
- name: Install Prettier
|
||||
run: npm install --save-dev --save-exact prettier
|
||||
|
||||
- name: Format files
|
||||
- name: Restructure files
|
||||
run: node_modules/.bin/prettier --write README.md animation-simulation/
|
||||
|
||||
- name: Commit files
|
Loading…
Reference in New Issue
Block a user