mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-03-18 03:45:57 +03:00
chore: checkpoint before lint autofix
This commit is contained in:
32
.github/workflows/style-lint.yml
vendored
Normal file
32
.github/workflows/style-lint.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Style Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "refactoring"
|
||||
- "main"
|
||||
- "master-cmake"
|
||||
pull_request:
|
||||
branches:
|
||||
- "refactoring"
|
||||
- "main"
|
||||
- "master-cmake"
|
||||
|
||||
jobs:
|
||||
clang-format:
|
||||
name: clang-format
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install clang-format
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends clang-format
|
||||
|
||||
- name: Check style
|
||||
run: |
|
||||
build-scripts/lint_style.sh check
|
||||
Reference in New Issue
Block a user