Skip to content

Add NEWS entries for the merged PRs #73

Add NEWS entries for the merged PRs

Add NEWS entries for the merged PRs #73

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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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 -- .