mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
add github action to check formatting
This commit is contained in:
parent
2793551040
commit
9fe752cf3c
17
.github/workflows/check-formatting.yml
vendored
Normal file
17
.github/workflows/check-formatting.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in a new issue