Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove automated formatting checks #253

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 0 additions & 123 deletions .clang-format

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,8 @@ on:
- '**/*.md'

jobs:
format:
name: Code formatting
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
# repository: ${{github.repository}} (default)
fetch-depth: 0
- name: Install clang-format
run: sudo apt-get install clang-format
- name: Check format
run: $GITHUB_WORKSPACE/scripts/check-format.sh
origin/`if [[ "${{github.event_name}}" == "push" ]]; then echo "main"; else echo "${{github.base_ref}}"; fi`
--binary clang-format

linux:
runs-on: ubuntu-latest
needs: format
defaults:
run:
shell: bash
Expand Down Expand Up @@ -264,7 +245,6 @@ jobs:

windows:
runs-on: windows-latest
needs: format
defaults:
run:
shell: pwsh
Expand Down Expand Up @@ -522,7 +502,6 @@ jobs:

macos:
runs-on: macos-latest
needs: format
defaults:
run:
shell: bash
Expand Down Expand Up @@ -614,7 +593,6 @@ jobs:

android:
runs-on: ubuntu-latest
needs: format
defaults:
run:
shell: bash
Expand Down
55 changes: 0 additions & 55 deletions scripts/check-format.sh

This file was deleted.