mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
b53137d1db
also get some sneaky reformatting of the "check formatting" action in hehe
34 lines
583 B
YAML
34 lines
583 B
YAML
---
|
|
name: Check formatting
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
- 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
|