Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 78d72264c8 | |||
| 0f62d70b81 | |||
| c8ef5a5638 |
@@ -13,14 +13,15 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
# No actions/setup-python: the runner image already ships Python 3.12,
|
||||
# and older act_runner engines mishandle setup-python's PATH. Install
|
||||
# into the ephemeral job container's system Python — the pylint/pyright
|
||||
# console scripts land on /usr/local/bin (on PATH) so the steps below
|
||||
# still resolve. --break-system-packages is safe: the container is
|
||||
# disposable.
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Install dev dependencies
|
||||
run: python3 -m pip install --break-system-packages -r requirements-dev.txt
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
- name: Run pylint
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user