Skip to content

ubuntu clang format broke. attempting to switch to pip provided.. mor… #866

ubuntu clang format broke. attempting to switch to pip provided.. mor…

ubuntu clang format broke. attempting to switch to pip provided.. mor… #866

Workflow file for this run

name: Check Formatting
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
formatting:
name: Check Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set system to non-interactive mode
run: export DEBIAN_FRONTEND=noninteractive

Check failure on line 18 in .github/workflows/formatting.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/formatting.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- name: install dependencies
- uses: BSFishy/pip-action@v1
with:
packages: |
clang-format==12.0.1
- run: |
sudo apt-get install -y --force-yes -qq git
- name: check formatting
run: find . -regex '.*\.\(cpp\|hpp\)' | xargs clang-format -style=file -i && git diff --exit-code --ignore-submodules