GitHub
4 年前
当前提交
9bf1c03f
共有 4 个文件被更改,包括 53 次插入 和 114 次删除
|
|||
name: nightly |
|||
|
|||
on: |
|||
schedule: |
|||
- cron: '0 7 * * *' # run at 7 AM UTC == midnight PST |
|||
|
|||
jobs: |
|||
markdown-link-check-full: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: actions/checkout@v2 |
|||
- uses: actions/setup-python@v1 |
|||
- uses: actions/setup-node@v2-beta |
|||
with: |
|||
node-version: '12' |
|||
- run: sudo npm install -g markdown-link-check |
|||
- uses: pre-commit/action@v2.0.0 |
|||
with: |
|||
extra_args: --hook-stage manual markdown-link-check-full --all-files |
|
|||
name: pre-commit |
|||
|
|||
on: |
|||
pull_request: |
|||
push: |
|||
branches: [master] |
|||
|
|||
jobs: |
|||
pre-commit: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: actions/checkout@v2 |
|||
- uses: actions/setup-python@v1 |
|||
- uses: actions/setup-ruby@v1 |
|||
with: |
|||
ruby-version: '2.6' |
|||
- uses: actions/setup-dotnet@v1 |
|||
with: |
|||
dotnet-version: '3.1.x' |
|||
- run: dotnet tool install -g dotnet-format --version 4.1.131201 |
|||
- uses: pre-commit/action@v2.0.0 |
|||
|
|||
markdown-link-check: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: actions/checkout@v2 |
|||
- uses: actions/setup-python@v1 |
|||
- uses: actions/setup-node@v2-beta |
|||
with: |
|||
node-version: '12' |
|||
- run: sudo npm install -g markdown-link-check |
|||
- uses: pre-commit/action@v2.0.0 |
|||
with: |
|||
extra_args: --hook-stage manual markdown-link-check --all-files |
撰写
预览
正在加载...
取消
保存
Reference in new issue