Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: pdm-project/setup-pdm@v4
with:
python-version: '3.10'
cache: true
- name: Install dependencies
run: |
pip install --user pdm
pdm install --global --project .
- name: Black
run: black --check src/ tests/
Expand All @@ -22,12 +22,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: pdm-project/setup-pdm@v4
with:
python-version: '3.10'
cache: true
- name: Install dependencies
run: |
pip install --user pdm
pdm install --global --project .
- name: Ruff
run: ruff check src/ tests/
Expand All @@ -36,12 +36,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: pdm-project/setup-pdm@v4
with:
python-version: '3.10'
cache: true
- name: Install dependencies
run: |
pip install --user pdm
pdm install --global --project .
- name: Pyright
run: pyright src/ tests/
5 changes: 2 additions & 3 deletions .github/workflows/publish-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache: true
- name: install dependencies
run: |
pip install --user pdm
pdm install --global --project .
- name: publish
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache: true
- name: install dependencies
run: |
pip install --user pdm
pdm install --global --project .
- name: publish
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache: true
- name: Install dependencies
run: |
pip install --user pdm
pdm install --global --project .
- name: Unit tests
run: |
Expand Down
Loading