diff --git a/.github/workflows/detection.yml b/.github/workflows/detection.yml index f4cca70..91d068b 100644 --- a/.github/workflows/detection.yml +++ b/.github/workflows/detection.yml @@ -21,6 +21,10 @@ jobs: needs: build # 确保安全检查在构建后执行 steps: - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.9" # 或选择一个适合你项目的具体版本,比如3.8, 3.7等 - uses: ./ # 使用当前仓库的根目录下的 action.yml with: code_path: "./tests"