mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 17:10:24 +08:00
be64641210
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
808 B
YAML
31 lines
808 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@v4
|
|
- uses: actions/setup-python@v5
|
|
- name: Install packages
|
|
run: source tools/ci.sh && ci_c_code_formatting_setup
|
|
- name: Run code formatting
|
|
run: source tools/ci.sh && ci_c_code_formatting_run
|
|
- name: Check code formatting
|
|
run: git diff --exit-code
|
|
|
|
code-spelling:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
- name: Install packages
|
|
run: source tools/ci.sh && ci_code_spell_setup
|
|
- name: Run spell checker
|
|
run: source tools/ci.sh && ci_code_spell_run
|