Skip to content

chore: update template when pin digest #1214

chore: update template when pin digest

chore: update template when pin digest #1214

Workflow file for this run

name: CI
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
ci:
if: ${{ !cancelled() && ! failure() }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- uses: pdm-project/setup-pdm@568ddd69406b30de1774ec0044b73ae06e716aa4 # v4
with:
cache: true
python-version: ${{ matrix.python-version }}
version: 2.15.0
- id: pages
name: Setup pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
- run: env | sort
- run: make dev
- run: make lint
- run: make test
- run: make doc
env:
CI_PAGES_URL: ${{ steps.pages.outputs.base_url }}
- run: make build
strategy:
matrix:
os:
# renovate: github-runner
- macos-14
# renovate: github-runner
- ubuntu-22.04
# renovate: github-runner
- windows-2022
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
# Python 3.8 and 3.9 do not run on macos-14 which is using arm64 hardware.
exclude:
# renovate: github-runner
- os: macos-14
python-version: "3.8"
# renovate: github-runner
- os: macos-14
python-version: "3.9"
include:
- os: macos-13
python-version: "3.8"
- os: macos-13
python-version: "3.9"
consistency:
if: ${{ !cancelled() && ! failure() }}
runs-on: ubuntu-22.04
steps:
- run: env | sort
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Git
run: |
git config --global user.name github-actions
git config --global user.email [email protected]
- run: pipx install copier==9.2.0
- run: make consistency
- run: git diff
- run: git status --porcelain
- run: test -z "$(git status --porcelain)"
on:
pull_request:
types:
- opened
- synchronize
push:
branches:
- main