Skip to content

refactor build toolchain #22

refactor build toolchain

refactor build toolchain #22

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
os: ["ubuntu-24.04", "macos-latest"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true
prerelease: true
- name: Ensure lock file is up to date
run: |
pdm lock --check
pdm lock --lockfile py12-linux.lock --check
- name: Install dependencies
run: |
pdm sync -d
- name: Run Lint
run: |
pdm run lint
- name: Run Tests
run: |
pdm run test