Skip to content

Commit

Permalink
Create python venv on GH runner for ledger guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
0xPxt committed Oct 15, 2024
1 parent fd5953b commit 6d89b0d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/guidelines_enforcer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,27 @@ on:
pull_request:

jobs:
setup_and_install:
name: Setup Python and Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Create and activate virtual environment
run: |
python -m venv venv
source venv/bin/activate
- name: Install dependencies
run: |
pip install --upgrade pip
make deps
guidelines_enforcer:
name: Call Ledger guidelines_enforcer
needs: setup_and_install
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_guidelines_enforcer.yml@v1
with:
python-version: '3.10'

0 comments on commit 6d89b0d

Please sign in to comment.