mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
9098e93767
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
481 B
YAML
27 lines
481 B
YAML
---
|
|
name: Check formatting
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.4.0
|
|
|
|
- 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
|