Show build status of posix & S32k148 #221
This file contains hidden or 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
name: Code format check | |
on: [ merge_group, push, pull_request ] | |
jobs: | |
treefmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build the docker image | |
run: | | |
docker build -f docker/Dockerfile.dev -t dev . | |
- name: Run the format.py inside the docker container | |
run: | | |
docker run --rm -v "$PWD:/home/jenkins" -w /home/jenkins --user $(id -u):4996 dev python3 .ci/format.py |