Skip to content

build: introduce clang-format in the code base, enforce via CI #1

build: introduce clang-format in the code base, enforce via CI

build: introduce clang-format in the code base, enforce via CI #1

name: Check code formatting
on:
push:
branches:
- main
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- name: Install the packages needed for checking code formatting
run: |
sudo apt install --no-install-recommends -y \
nano
- name: Checkout itcoin-fbft
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: check code formatting
run: |
make check-code-formatting