mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
7d199c1329
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.3 to v2.3.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.3.3...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
480 B
YAML
27 lines
480 B
YAML
name: Check formatting
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
pull_request:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
- name: apt-get update
|
|
run: sudo apt-get update
|
|
|
|
- name: Install clang-format
|
|
run: sudo apt-get -y install clang-format dos2unix
|
|
|
|
- name: Check formatting
|
|
run: ./tools/check-format.sh
|
|
|
|
- name: Check line-endings
|
|
run: ./tools/check-line-endings.sh
|