Bump docker/build-push-action from 3 to 5 #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: python_safety | |
on: [pull_request, push] | |
jobs: | |
python_safety: | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login != github.event.pull_request.base.repo.owner.login | |
runs-on: 'ubuntu-20.04' | |
steps: | |
- run: sudo apt-mark hold grub-efi-amd64-signed # GRUB does not always find the drive it was configured for | |
- run: sudo apt-get -q update | |
- run: sudo DEBIAN_FRONTEND="noninteractive" apt-get -qq --no-install-recommends dist-upgrade | |
- 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 . | |
- run: safety check |