Skip to content

Commit

Permalink
pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Jan 13, 2025
1 parent e6760fc commit 212e7d7
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ on: [pull_request]

jobs:
lint:
runs-on: ubuntu-22.04 # TODO: Unpin
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pylint poetry
poetry self add poetry-plugin-export
poetry export -o requirements.txt
pip install -r requirements.txt
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
cache: poetry
- run: |
pipx install flake8 pylint
poetry install
- name: Prepare artifacts directory
run: |
mkdir -p ./linter_output
Expand Down

0 comments on commit 212e7d7

Please sign in to comment.