Skip to content

fix: reuse pre-commit hook and python 3.9+ compatiblity #18

fix: reuse pre-commit hook and python 3.9+ compatiblity

fix: reuse pre-commit hook and python 3.9+ compatiblity #18

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: pre-commit
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]
jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- uses: pre-commit/[email protected]