mirror-chatterino2/.github/workflows/check-formatting.yml
2019-11-16 12:00:21 +01:00

21 lines
372 B
YAML

name: Check formatting
on: [push, 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