Skip to content

Reduce repetition in experimental procedure scripts #19

Reduce repetition in experimental procedure scripts

Reduce repetition in experimental procedure scripts #19

Workflow file for this run

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.0"
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.0"
with:
python-version: "3.11"
- run: "ruff --no-fix --format github ."
bump_project:
needs: ["pyright", "ruff"]
runs-on: "ubuntu-latest"
steps:
- uses: "blakeNaccarato/copier-python-workflow-setup@v0.2.0"
with:
python-version: "3.11"
install-project: false
- run: "copier update --defaults --vcs-ref $(git rev-parse HEAD:template)"
shell: "pwsh"
- uses: "stefanzweifel/git-auto-commit-action@v4.16.0"
with:
commit_message: "Update project from template."
# * ------------------------------------------------------------------------------ * #
# * Changes below should persist in significant template updates.