build(python): release script update #598
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: "Presubmit: build and test wheels" | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
mypy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Install nox | |
run: | | |
python -m ensurepip | |
python -m pip install nox | |
- name: Run mypy | |
env: | |
# workaround for https://github.com/pypa/setuptools/issues/3557 | |
SETUPTOOLS_ENABLE_FEATURES: legacy-editable | |
run: | | |
nox -s mypy |