mirror of
https://github.com/transmission/transmission
synced 2025-03-04 18:48:06 +00:00
23 lines
470 B
YAML
23 lines
470 B
YAML
|
name: Code Style
|
||
|
on:
|
||
|
pull_request:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
jobs:
|
||
|
formatting-check:
|
||
|
name: Formatting Check
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Install Dependencies
|
||
|
run: |
|
||
|
sudo apt-get install clang-format-12 npm yarn
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v3
|
||
|
with:
|
||
|
submodules: recursive
|
||
|
- name: Check
|
||
|
working-directory: .
|
||
|
run: |
|
||
|
./code_style.sh --check
|