Skip to content

Commit

Permalink
CI-fix: pip install requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Feb 18, 2024
1 parent 1b32737 commit 2b11e58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
branches: [ trunk ]
paths:
- '**.c'
- '**codeql.yml'
pull_request:
branches: [ trunk ]
paths:
- '**.c'
- '**codeql.yml'

jobs:
analyze:
Expand All @@ -24,10 +26,11 @@ jobs:
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- run: pip install -r requirements.txt

- name: Install Dependencies
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ on:
paths:
- '**.c'
- 'meson.build'
- '**linux.yml'
pull_request:
branches:
- trunk
paths:
- '**.c'
- 'meson.build'
- '**linux.yml'

jobs:
build:
Expand All @@ -34,6 +36,7 @@ jobs:
with:
python-version: '3.9'
cache: 'pip'
- run: pip install -r requirements.txt

- name: Install Meson and Ninja
run: pip install meson ninja
Expand Down

0 comments on commit 2b11e58

Please sign in to comment.