chore: add workflow to find the python dependencies in repo #25
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: Check Python Dependencies | |
on: | |
pull_request: | |
defaults: | |
run: | |
shell: bash # strict bash | |
jobs: | |
check_dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Create Virtual Environment | |
run: python3 -m venv .venv | |
# Optionally, you can log the output to a file | |
# continue-on-error: true | |
# env: | |
# log_file: make_venv.log | |
- name: Upgrade pip | |
run: .venv/bin/python3 -m pip install -U pip | |
# Optionally, you can log the output to a file | |
# continue-on-error: true | |
# env: | |
# log_file: pip_upgrade.log | |
- name: Download dependencies | |
run: .venv/bin/python3 -m pip download --dest files -r base.txt | |
# Optionally, you can log the output to a file | |
# continue-on-error: true | |
# env: | |
# log_file: pip_download.log |