From 28a1c7234ec16176e106abc1edac0a6c0c6a9c0b Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 2 Nov 2019 12:13:41 +0100 Subject: [PATCH] Update check-format action --- .github/workflows/check-formatting.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index b434301c9..91655e238 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -5,13 +5,14 @@ on: [push] jobs: build: - - runs-on: ubuntu-latest + container: ubuntu:19.10 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: apt-get update + run: apt-get update + + - name: Install clang-format + run: apt-get install clang-format - name: Check formatting run: ./tools/check-format.sh