Skip to content

Add NEWS entry for the next release #12

Add NEWS entry for the next release

Add NEWS entry for the next release #12

Workflow file for this run

name: Check format
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- '**.h'
- '**.c'
- 'liblouis/liblouis/liblouis.h.in'
pull_request:
branches: [ master ]
paths:
- '**.h'
- '**.c'
- 'liblouis/liblouis/liblouis.h.in'
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
check-format:
name: Check the code formatting
runs-on: ubuntu-22.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y clang-format-14
- name: Autogen && configure
run: |
./autogen.sh
./configure
- name: Check format
run: |
make format-sources
git diff-index --exit-code HEAD -- .