ddnet/.github/workflows/style.yml

27 lines
553 B
YAML
Raw Normal View History

2020-09-10 02:06:46 +00:00
name: Check style
on:
push:
branches-ignore:
- master
- staging.tmp
- trying.tmp
- staging-squash-merge.tmp
pull_request:
jobs:
check-style:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install clang-format
run: |
sudo apt-get update -y
sudo apt-get install clang-format -y
- name: Check style
run: |
clang-format -version
scripts/fix_style.py --dry-run
2020-09-10 22:02:46 +00:00
scripts/check_header_guards.py
scripts/languages/update_all.py