Skip to content

Add clang-format and clang-tidy CI. #1

Add clang-format and clang-tidy CI.

Add clang-format and clang-tidy CI. #1

Workflow file for this run

name: CHERIoT RTOS Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
check-format:
name: Check coding conventions
runs-on: ubuntu-latest
container:
image: ghcr.io/cheriot-platform/devcontainer:latest
options: --user 1001
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Check out RTOS
run: |
cd ..
git clone --recurse https://github.com/Microsoft/cheriot-rtos
- name: Run clang-format and clang-tidy
run: ./scripts/run_clang_tidy_format.sh /cheriot-tools/bin
all-checks:
needs: [run-tests, check-format]

Check failure on line 30 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CHERIoT RTOS Tests

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 30, Col: 13): Job 'all-checks' depends on unknown job 'run-tests'.
runs-on: ubuntu-latest
steps:
- name: Dummy step
run: true