diff --git a/.github/workflows/python_safety.yml b/.github/workflows/python_safety.yml index a9c15071e..68401696e 100644 --- a/.github/workflows/python_safety.yml +++ b/.github/workflows/python_safety.yml @@ -12,5 +12,8 @@ jobs: - run: sudo DEBIAN_FRONTEND="noninteractive" apt-get -qq --no-install-recommends install curl gcc ffmpeg libcurl4-openssl-dev libssl-dev motion v4l-utils - uses: actions/checkout@v4 - - run: pip install --user safety . + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - run: pip install safety . - run: safety check