mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
21 lines
495 B
YAML
21 lines
495 B
YAML
name: Check code formatting
|
|
|
|
on: [push, pull_request]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
code-formatting:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-python@v6
|
|
- name: Install packages
|
|
run: tools/ci.sh c_code_formatting_setup
|
|
- name: Run code formatting
|
|
run: tools/ci.sh c_code_formatting_run
|
|
- name: Check code formatting
|
|
run: git diff --exit-code
|