mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
chore: applies fixes to clang format (#5677)
* chore: update the clang-format version * chore: specify the clang format version to use * chore: remove style tag since it will default to file
This commit is contained in:
8
.github/workflows/check_clang_format.yml
vendored
8
.github/workflows/check_clang_format.yml
vendored
@@ -10,12 +10,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: DoozyX/clang-format-lint-action@v0.12
|
||||
- uses: DoozyX/clang-format-lint-action@v0.13
|
||||
with:
|
||||
source: 'core'
|
||||
extensions: 'js'
|
||||
clangFormatVersion: 12
|
||||
style: Google
|
||||
# This should be as close as possible to the version that the npm
|
||||
# package supports. This can be found by running:
|
||||
# npx clang-format --version.
|
||||
clangFormatVersion: 13
|
||||
|
||||
# The Report clang format workflow (report_clang_format.yml) will
|
||||
# run (if required) after this one to post a comment to the PR.
|
||||
|
||||
Reference in New Issue
Block a user