Skip to content

build(deps): bump actions/checkout from 5.0.0 to 6.0.1 (#1463) #1401

build(deps): bump actions/checkout from 5.0.0 to 6.0.1 (#1463)

build(deps): bump actions/checkout from 5.0.0 to 6.0.1 (#1463) #1401

Workflow file for this run

name: Run Checks
on:
push:
branches:
- main
pull_request:
jobs:
check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- name: Shell script static analysis
run: shellcheck bin/fetch-configlet bin/verify-unity-version bin/check-unitybegin format.sh
- name: Check concept exercises formatting
run: |
find exercises/concept/ -path '*/test-framework' -prune -o \
\( -iname '*.h' -o -iname '*.c' \) -print0 |\
xargs --null clang-format --dry-run --Werror
- name: Check practice exercises formatting
run: |
find exercises/practice/ -path '*/test-framework' -prune -o \
\( -iname '*.h' -o -iname '*.c' \) -print0 |\
xargs --null clang-format --dry-run --Werror
- name: Check Unity version
run: ./bin/verify-unity-version ./exercises/concept ./exercises/practice
- name: Check unitybegin()
run: ./bin/check-unitybegin ./exercises/concept ./exercises/practice
- name: Check include guards
run: ./bin/check-include-guards ./exercises/concept ./exercises/practice