Skip to content

Commit

Permalink
Python venv for guidelines enforcer
Browse files Browse the repository at this point in the history
  • Loading branch information
0xPxt committed Oct 15, 2024
1 parent dcddf6d commit ceedce8
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/guidelines_enforcer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,21 @@ on:
pull_request:

jobs:
setup_and_install:
name: Setup Python and Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Create and activate virtual environment
run: |
python -m venv venv
source venv/bin/activate
guidelines_enforcer:
if: github.event.repository.private == false
name: Call Ledger guidelines_enforcer
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_guidelines_enforcer.yml@v1
needs: setup_and_install
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_guidelines_enforcer.yml@v1

0 comments on commit ceedce8

Please sign in to comment.