[many] BUILD_ROOT environment var to minimise pollution in the source repo #276
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: Python | |
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'py/**' | |
- '.github/workflows/py.yml' | |
- '.github/workflows/common.yml' | |
- 'flake.*' | |
pull_request: | |
paths: | |
- 'py/**' | |
- '.github/workflows/py.yml' | |
- '.github/workflows/common.yml' | |
- 'flake.*' | |
workflow_dispatch: | |
jobs: | |
common: | |
name: Common | |
uses: ./.github/workflows/common.yml | |
with: | |
workdir: py | |
format-pkgs: python3.11-venv | |
build-pkgs: python3.11-venv | |
cache-paths: | | |
py/venv | |
~/.cache/pip | |
cache-key: venv |