Skip to content

Commit

Permalink
Use actions/setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
dhinakg committed Jan 3, 2023
1 parent d4e9cd8 commit 16fbd09
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,19 @@ jobs:
uses: actions/checkout@v2
with:
ref: github-actions
- name: Set up Python 3
run: brew install python3 python-tk
- name: Install Python Dependencies
# - name: Set up Python 3
# run: brew install python3 python-tk
- uses: actions/setup-python@v4
with:
python-version: 3.10
cache: pip
# - name: Install Python Dependencies
# run: |
# python3 -m pip install -U pip wheel
# python3 -m pip install hammock python-dateutil datetime termcolor2 purl python-magic humanize gitpython cryptography macholib
# echo "OVERRIDE_PYTHON3=$(which python3)" >> "$GITHUB_ENV"
- name: Configure Python
run: |
python3 -m pip install -U pip wheel
python3 -m pip install hammock python-dateutil datetime termcolor2 purl python-magic humanize gitpython cryptography macholib
echo "OVERRIDE_PYTHON3=$(which python3)" >> "$GITHUB_ENV"
# - name: Check Parallel
# run: python3 -u parallel_check.py ${{ secrets.GITHUB_TOKEN }}
Expand Down
13 changes: 13 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Builder dependencies
hammock
python-dateutil
datetime
termcolor2
purl
python-magic
humanize
gitpython
cryptography

# For ACID32
macholib

0 comments on commit 16fbd09

Please sign in to comment.