Skip to content

SRT2D repository: SRT 2D PET and SPECT algorithms #440

SRT2D repository: SRT 2D PET and SPECT algorithms

SRT2D repository: SRT 2D PET and SPECT algorithms #440

name: Run pre-commit check
on:
- push
- pull_request
jobs:
check:
runs-on: ubuntu-latest
name: pre-commit
steps:
- uses: actions/checkout@v4

Check failure on line 10 in .github/workflows/pre-commit-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pre-commit-check.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: pre-commit-env
environment-file: pre-commit-environment.yml
auto-activate-base: false
# - uses: pre-commit/[email protected]
- name: Run pre-commit checks
uses: pre-commit/[email protected]
with:
extra_args: '--all-files'