feat: 修改配置
Some checks failed
Vulnerability and Backdoor Detection Workflow / build (pull_request) Successful in 14s
Vulnerability and Backdoor Detection Workflow / security_check (pull_request) Has been cancelled
Some checks failed
Vulnerability and Backdoor Detection Workflow / build (pull_request) Successful in 14s
Vulnerability and Backdoor Detection Workflow / security_check (pull_request) Has been cancelled
This commit is contained in:
6
.github/workflows/detection.yml
vendored
6
.github/workflows/detection.yml
vendored
@@ -21,10 +21,8 @@ jobs:
|
|||||||
needs: build # 确保安全检查在构建后执行
|
needs: build # 确保安全检查在构建后执行
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python
|
- name: Install dependencies
|
||||||
uses: actions/setup-python@v2
|
run: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
with:
|
|
||||||
python-version: "3.9" # 或选择一个适合你项目的具体版本,比如3.8, 3.7等
|
|
||||||
- uses: ./ # 使用当前仓库的根目录下的 action.yml
|
- uses: ./ # 使用当前仓库的根目录下的 action.yml
|
||||||
with:
|
with:
|
||||||
code_path: "./tests"
|
code_path: "./tests"
|
||||||
|
|||||||
Reference in New Issue
Block a user