Exclude prereleases when checking for updates #160
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: dist | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
jobs: | |
ci: | |
uses: robotpy/build-actions/.github/workflows/package-pure.yml@v2024 | |
with: | |
enable_sphinx_check: false | |
secrets: | |
META_REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} | |
PYPI_API_TOKEN: ${{ secrets.PYPI_PASSWORD }} | |
check-mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install requirements | |
run: | | |
pip --disable-pip-version-check install mypy setuptools types-paramiko wheel setuptools_scm | |
pip --disable-pip-version-check install --no-build-isolation -e . | |
- name: Run mypy | |
uses: liskin/gh-problem-matcher-wrap@v2 | |
with: | |
linters: mypy | |
run: mypy --show-column-numbers robotpy_installer |