mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
22 lines
470 B
YAML
22 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
|