Skip to content

chore: use ubuntu to lint code style #47

chore: use ubuntu to lint code style

chore: use ubuntu to lint code style #47

Workflow file for this run

name: Commit CI
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout last commit
uses: actions/checkout@v4
- name: Install clang-format-19
run: |
sudo apt update
sudo apt -y install clang-format-19
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-19 100
- name: Code style lint
run: make clang-format-lint
linux:
needs: lint
uses: ./.github/workflows/linux-build.yml
macos:
needs: lint
uses: ./.github/workflows/macos-build.yml
windows:
needs: lint
uses: ./.github/workflows/windows-build.yml
docker:
needs: lint
uses: ./.github/workflows/docker-build.yml