mirror-chatterino2/.github/workflows/check-formatting.yml
Ruben Anders 45a53bf0a4
dont ignore md files for CI in pull requests (#1881)
This should help merging readme PRs without having to use scary buttons
2020-08-23 14:07:30 +02:00

26 lines
426 B
YAML

name: Check formatting
on:
push:
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:19.10
steps:
- uses: actions/checkout@v1
- name: apt-get update
run: apt-get update
- name: Install clang-format
run: apt-get -y install clang-format
- name: Check formatting
run: ./tools/check-format.sh