Workflows
reusable github workflows / actions
Install / Use
/learn @asottile/WorkflowsREADME
workflows
reusable github workflows / actions
job templates
.github/workflows/tox.yml
new in v1.0.0
this job template will install python and invoke tox
parameters
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.11wat: will run with python 3.14py315: will install nightly 3.15 from deadsnakes and use that
example
jobs:
main:
uses: asottile/workflows/.github/workflows/tox.yml@v1.11.0
with:
env: '["py310", "py311", "pypy3"]'
actions
.github/actions/latest-git
new in v1.2.0
install the latest version of git
example
steps:
- uses: asottile/workflows/.github/actions/latest-git@v1.11.0
.github/actions/fast-checkout
new in v1.3.0
a replacement for actions/checkout that is way less slow
example
steps:
- uses: asottile/workflows/.github/actions/fast-checkout@v1.11.0
View on GitHub75/100
Security Score
Audited on Feb 22, 2026
No findings
