Rearrange update order #124
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: "main" | |
on: ["push", "workflow_dispatch"] | |
jobs: | |
# * ------------------------------------------------------------------------------ * # | |
# * Changes below may be lost in significant template updates. | |
pyright: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/copier-python-workflow-setup@v0.2.2" | |
with: | |
python-version: "3.11" | |
- run: ".tools/scripts/Invoke-Pyright.ps1" | |
shell: "pwsh" | |
ruff: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/copier-python-workflow-setup@v0.2.2" | |
with: | |
python-version: "3.11" | |
- run: "ruff --no-fix --output-format github ." | |
pytest: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/copier-python-workflow-setup@v0.2.2" | |
with: | |
python-version: "3.11" | |
- run: "pytest --cov" | |
- uses: "codecov/codecov-action@v3.1.4" | |
bump_project: | |
needs: ["pyright", "ruff", "pytest"] | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/copier-python-workflow-setup@v0.2.2" | |
with: | |
python-version: "3.11" | |
install-project: false | |
- uses: "stefanzweifel/git-auto-commit-action@v4.16.0" | |
with: | |
commit_message: "Update project." | |
# * ------------------------------------------------------------------------------ * # | |
# * Changes below should persist in significant template updates. |