chore: adapt the project to GitHub #4
Workflow file for this run
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
# SPDX-FileCopyrightText: Copyright © 2024 Idiap Research Institute <[email protected]> | |
# SPDX-FileContributor: Yannick Dayer <[email protected]> | |
# SPDX-License-Identifier: BSD-3-Clause | |
name: Check the project is up to our quality standards | |
on: | |
pull_request: | |
push: | |
jobs: | |
pre-commit: | |
name: Run pre commit on all modified files | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
env: | |
SKIP: pixi |