bump version #317
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Reliably CLI Lint/Test | |
on: | |
push: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
checks: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
os: ["windows-latest", "ubuntu-latest", "macos-latest"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: true | |
prerelease: true | |
- name: Ensure lock file is up to date | |
run: | | |
pdm lock --check | |
- name: Install dependencies | |
run: | | |
pdm sync -d | |
- name: Run Lint | |
run: | | |
pdm run lint | |
- name: Run Tests | |
run: | | |
pdm run pytest |