Drop the hosted setup-pixi step for the self-hosted runner, install the locked environment in the site workflow, run the quick check before building, and serialize publishes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
20 lines
685 B
YAML
20 lines
685 B
YAML
# Forgejo and Gitea Actions both read .github/workflows when their own folder is absent.
|
|
# On Forgejo, if the runner's default action mirror lacks setup-pixi, write it as
|
|
# https://github.com/prefix-dev/setup-pixi@v0.9.4.
|
|
# The tools need Python 3.14, which pixi.toml pins, so one environment covers every supported Python.
|
|
name: check
|
|
on: [push, pull_request]
|
|
jobs:
|
|
check:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [linux-base]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Check the repository
|
|
run: pixi run check
|
|
- name: Stress the reference implementation
|
|
run: pixi run python tools/stress.py
|