Merge pull request #1533 from KrisThielemans/pre-commit-clangformat #411
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: Run pre-commit check | |
on: | |
- push | |
- pull_request | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
name: pre-commit | |
steps: | |
- uses: actions/checkout@v4 | |
- 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] |