reusable github workflows / actions
new in v1.0.0
this job template will install python and invoke tox
env: (json list of strings) the list oftoxenvironment names to runos: (default:ubuntu-latest) passed through toruns-onarch: (json list of strings, default: '[""]') only used on windows to select the python executablewheel-tags: (default:false) whether to make awheelsartifact on tagssubmodules: (default:false) new in v1.1.0 passed along toactions/fast-checkout(note: was passed toactions/checkoutbefore v1.4.0)
this action auto-detects python versions via the env name. here are some examples:
py310: will run with python 3.10py310-wat: will also run with python 3.10pypy3: will run using pypy 3.9wat: will run with python 3.13py314: will install nightly 3.14 from deadsnakes and use that
jobs:
main:
uses: asottile/workflows/.github/workflows/[email protected]
with:
env: '["py310", "py311", "pypy3"]'new in v1.2.0
install the latest version of git
steps:
- uses: asottile/workflows/.github/actions/[email protected]new in v1.3.0
a replacement for actions/checkout that is way less slow
steps:
- uses: asottile/workflows/.github/actions/[email protected]