|
@ -7,7 +7,7 @@ concurrency: |
|
|
cancel-in-progress: true |
|
|
cancel-in-progress: true |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
code-formatting: |
|
|
runs-on: ubuntu-22.04 |
|
|
runs-on: ubuntu-22.04 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v3 |
|
|
- uses: actions/checkout@v3 |
|
@ -18,3 +18,13 @@ jobs: |
|
|
run: source tools/ci.sh && ci_code_formatting_run |
|
|
run: source tools/ci.sh && ci_code_formatting_run |
|
|
- name: Check code formatting |
|
|
- name: Check code formatting |
|
|
run: git diff --exit-code |
|
|
run: git diff --exit-code |
|
|
|
|
|
|
|
|
|
|
|
code-spelling: |
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
steps: |
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
|
|
- 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 |
|
|