Check code formatting #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2023 Ferrous Systems | |
# SPDX-License-Identifier: MIT OR Apache-2.0 | |
# Builds ThreadX and then our Rust program | |
name: code-format | |
run-name: Check code formatting | |
on: [push] | |
jobs: | |
format-demo-app: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Check Formatting | |
run: | | |
cd demo-app | |
cargo fmt -- --check |