Skip to content

treewide: Use pre-commit utility and replace checkstyle.py #127

treewide: Use pre-commit utility and replace checkstyle.py

treewide: Use pre-commit utility and replace checkstyle.py #127

# SPDX-License-Identifier: BSD-2-Clause
# Copyright (C) 2023, Raspberry Pi Ltd
name: libpisp style checker
on:
pull_request:
branches: [main]
jobs:
style-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files --show-diff-on-failure