mirror-chatterino2/.github/workflows/check-formatting.yml

21 lines
372 B
YAML
Raw Normal View History

2019-11-02 11:59:34 +01:00
name: Check formatting
on: [push, pull_request]
2019-11-02 11:59:34 +01:00
jobs:
build:
2019-11-02 12:18:18 +01:00
runs-on: ubuntu-latest
container:
image: ubuntu:19.10
2019-11-02 11:59:34 +01:00
steps:
2019-11-02 12:21:18 +01:00
- uses: actions/checkout@v1
2019-11-02 12:13:41 +01:00
- name: apt-get update
run: apt-get update
- name: Install clang-format
run: apt-get -y install clang-format
2019-11-02 11:59:34 +01:00
- name: Check formatting
run: ./tools/check-format.sh