build(deps): lock file maintenance (#774) #1998
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
ci: | |
if: ${{ !cancelled() && ! failure() }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@568ddd69406b30de1774ec0044b73ae06e716aa4 # v4 | |
with: | |
cache: true | |
python-version: ${{ matrix.python-version }} | |
version: 2.19.3 | |
- run: env | sort | |
- run: make prerequisites | |
- run: make dev | |
- run: make lint test doc build | |
strategy: | |
matrix: | |
os: | |
# renovate: github-runner | |
- macos-14 | |
# renovate: github-runner | |
- ubuntu-24.04 | |
# renovate: github-runner | |
- windows-2022 | |
python-version: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
- '3.13' | |
consistency: | |
if: ${{ !cancelled() && ! failure() }} | |
runs-on: ubuntu-24.04 | |
steps: | |
- run: env | sort | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Git | |
run: | | |
git config --global user.name github-actions | |
git config --global user.email [email protected] | |
- run: pipx install copier==9.4.1 | |
- run: make template-build | |
- run: git diff | |
- run: git status --porcelain | |
- run: test -z "$(git status --porcelain)" |