From 9fe752cf3c813d601859bf13e84ac9f835450a95 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sat, 2 Nov 2019 11:59:34 +0100 Subject: [PATCH] add github action to check formatting --- .github/workflows/check-formatting.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/check-formatting.yml diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml new file mode 100644 index 000000000..b434301c9 --- /dev/null +++ b/.github/workflows/check-formatting.yml @@ -0,0 +1,17 @@ +name: Check formatting + +on: [push] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Build the Chatterino2 Docker check-format image + run: docker build . --file .docker/Dockerfile.check-format --tag chatterino2-check-format + + - name: Check formatting + run: ./tools/check-format.sh