Skip to content

Commit

Permalink
πŸ’š ci: simplify lint job and upload reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ljnsn committed Oct 12, 2024
1 parent d0450fb commit c287bb3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,13 @@ on:

jobs:
python-lint:
strategy:
matrix:
python-version: ["3.10"]
platform: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: "3.10"
- uses: actions/cache@v4
id: cache
with:
Expand All @@ -33,6 +28,11 @@ jobs:
run: python -m pdm install -G lint -G dev
- name: Lint
run: python -m pdm run lint
- name: Archive lint reports
uses: actions/upload-artifact@v4
with:
name: lint-reports
path: reports

python-test:
strategy:
Expand Down

0 comments on commit c287bb3

Please sign in to comment.