Update check-format action
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user