Skip to content

Commit

Permalink
install all needed dependencies for IAM DB update
Browse files Browse the repository at this point in the history
  • Loading branch information
gruebel committed Aug 10, 2024
1 parent bb2a6d1 commit 0aab037
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,25 @@ on:
- cron: '0 0 1 * *'
workflow_dispatch:

permissions:
contents: read

jobs:
update-actions:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: '3.8'
- name: install dependencies
run: pip install requests schema PyYAML click click_log beautifulsoup4
run: |
pip install -r requirements.txt
pip install click_log
- name: install policy_sentry
run: echo "PYTHONPATH=$(pwd)" >> "$GITHUB_ENV"
- name: Run initialize
Expand Down Expand Up @@ -48,12 +55,10 @@ jobs:
needs: update-actions
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Setup Python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: '3.8'

- name: Install dependencies
run: |
pip install -r requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ click==8.1.7
beautifulsoup4==4.12.3
requests==2.32.3
# Config files and schema validation
PyYAML==6.0.1
PyYAML==6.0.2
schema==0.7.7
# IAM DB
orjson==3.10.6
orjson==3.10.7

0 comments on commit 0aab037

Please sign in to comment.