chore(release): merge chore_release-8.5.0 into main #7
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: "format/lint all targets" | |
on: | |
push: | |
branches: | |
- "*" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
working-directory: ot3-firmware | |
jobs: | |
format: | |
runs-on: "ubuntu-latest" | |
timeout-minutes: 20 | |
name: Formatting | |
steps: | |
- name: Checkout ot3-firmware repo | |
uses: actions/checkout@v4 | |
with: | |
path: ot3-firmware | |
- name: Checkout github actions directory | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
.github/actions | |
sparse-checkout-cone-mode: false | |
path: actions | |
- name: Setup main | |
uses: ./actions/.github/actions/main-setup | |
with: | |
cache-version: ${{ secrets.CACHE_VERSION }} | |
- name: Configure | |
run: cmake --preset=cross . | |
- name: Format | |
run: cmake --build ./build-cross --target format-ci | |
lint: | |
runs-on: "ubuntu-latest" | |
timeout-minutes: 20 | |
name: ${{ matrix.target }} lint | |
strategy: | |
matrix: | |
target: [ | |
bootloader, | |
gantry, | |
gripper, | |
head, | |
hepa-uv, | |
pipettes, | |
rear-panel | |
] | |
steps: | |
- name: Checkout ot3-firmware repo | |
uses: actions/checkout@v4 | |
with: | |
path: ot3-firmware | |
- name: Checkout github actions directory | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
.github/actions | |
sparse-checkout-cone-mode: false | |
path: actions | |
- name: Setup main | |
uses: ./actions/.github/actions/main-setup | |
with: | |
cache-version: ${{ secrets.CACHE_VERSION }} | |
- name: Configure | |
run: cmake --preset=cross . | |
- name: Format | |
run: cmake --build ./build-cross --target ${{ matrix.target }}-lint |