mirror-chatterino2/.github/workflows/check-formatting.yml
dependabot[bot] 3c683f40f7
Bump actions/checkout from 2.4.0 to 3 (#3581)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 13:49:51 +00:00

28 lines
477 B
YAML

---
name: Check formatting
on:
push:
branches:
- master
pull_request:
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: apt-get update
run: sudo apt-get update
- name: Install clang-format
run: sudo apt-get -y install clang-format dos2unix
- name: Check formatting
run: ./tools/check-format.sh
- name: Check line-endings
run: ./tools/check-line-endings.sh