mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Update check-format action
This commit is contained in:
parent
40cb08a92e
commit
28a1c7234e
1 changed files with 6 additions and 5 deletions
11
.github/workflows/check-formatting.yml
vendored
11
.github/workflows/check-formatting.yml
vendored
|
@ -5,13 +5,14 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
container: ubuntu:19.10
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- name: apt-get update
|
||||||
- name: Build the Chatterino2 Docker check-format image
|
run: apt-get update
|
||||||
run: docker build . --file .docker/Dockerfile.check-format --tag chatterino2-check-format
|
|
||||||
|
- name: Install clang-format
|
||||||
|
run: apt-get install clang-format
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: ./tools/check-format.sh
|
run: ./tools/check-format.sh
|
||||||
|
|
Loading…
Reference in a new issue