1name: CI Checks
2on:
3  push:
4    branches: ["**"]
5  pull_request:
6    branches: [main]
7  workflow_dispatch:
8jobs:
9  formatting:
10    runs-on: ubuntu-20.04
11    steps:
12      - uses: actions/checkout@v4.1.1
13      - name: Check Formatting of FreeRTOS-Kernel Files
14        uses: FreeRTOS/CI-CD-Github-Actions/formatting@main
15        with:
16          exclude-dirs: portable
17
18  spell-check:
19      runs-on: ubuntu-latest
20      steps:
21        - name: Clone This Repo
22          uses: actions/checkout@v4.1.1
23        - name: Run spellings check
24          uses: FreeRTOS/CI-CD-Github-Actions/spellings@main
25          with:
26            path: ./
27            exclude-files: History.txt
28
29  link-verifier:
30    runs-on: ubuntu-latest
31    steps:
32      - name: Clone This Repo
33        uses: actions/checkout@v4.1.1
34      - name: Link Verification
35        uses: FreeRTOS/CI-CD-Github-Actions/link-verifier@main
36
37  verify-manifest:
38    runs-on: ubuntu-latest
39    steps:
40      - uses: actions/checkout@v4.1.1
41        with:
42          submodules: true
43          fetch-depth: 0
44
45      - name: Run manifest verifier
46        uses: FreeRTOS/CI-CD-GitHub-Actions/manifest-verifier@main
47        with:
48          path: ./
49          fail-on-incorrect-version: true
50