Skip to content

Commit

Permalink
ci: Cache pip + use python version 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Jan 4, 2024
1 parent 6b982e0 commit c367cc9
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Install dependencies and package
run: |
python -m pip install --upgrade pip
pip install .
- name: Install bender
uses: pulp-platform/pulp-actions/bender-install@v2
- name: Install verible
Expand All @@ -42,9 +45,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Install dependencies and package
run: |
python -m pip install --upgrade pip
pip install .
- name: Install bender
uses: pulp-platform/pulp-actions/bender-install@v2
- name: Install verible
Expand Down Expand Up @@ -89,15 +95,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
cache: 'pip'
- name: Install dependencies and package
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Install as a package
run: |
pip install .
- name: Analysing the code with pylint
run: |
Expand Down

0 comments on commit c367cc9

Please sign in to comment.