Skip to content

移除过时的 WSL 文章 #1018

移除过时的 WSL 文章

移除过时的 WSL 文章 #1018

Workflow file for this run

name: 检查链接有效性
on:
schedule: # 夜间执行
- cron: '0 0 * * *'
workflow_dispatch: # 手动执行
pull_request: # PR执行
push: # Push到main执行
branches:
- main
permissions: {}
jobs:
check-url:
runs-on: ubuntu-latest
steps:
- name: 检出代码
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: 设置 Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.x'
- name: 安装依赖
run: |
python -m pip install --upgrade pip
pip install -r .action_scripts/Python/requirements.txt
- name: 检查链接有效性
run: python ./.action_scripts/Python/link_checker.py