mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
29 lines
477 B
YAML
29 lines
477 B
YAML
name: Check formatting
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
|
|
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
|