[ImgBot] Optimize images #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check formatting | |
on: | |
push: | |
branches: | |
- chatterino7 | |
pull_request: | |
merge_group: | |
concurrency: | |
group: check-formatting-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: apt-get update | |
run: sudo apt-get update | |
- name: Install clang-format | |
run: sudo apt-get -y install dos2unix | |
- name: Check formatting | |
uses: DoozyX/[email protected] | |
with: | |
source: "./src ./tests/src ./benchmarks/src ./mocks/include" | |
extensions: "hpp,cpp" | |
clangFormatVersion: 16 | |
- name: Check line-endings | |
run: ./scripts/check-line-endings.sh |