Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
- Remove `clang-format` check on lint-ruby
- Update clang-format-action: https://github.com/jidicula/clang-format-action/releases/tag/v4.11.0
- Fix linting error (from previous commit)
  • Loading branch information
yosiat committed Jun 10, 2023
1 parent 9dc27d4 commit aa4af28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ jobs:
RAILS_VERSION: "7.0"
run: |
bundle exec rake standard
clang-format ext/**/*.{c,h}
- name: Lint C
uses: jidicula/clang-format-action@v4.10.1
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: "15"
clang-format-version: "16"
check-path: "ext/panko_serializer"
fallback-style: "Google"
fallback-style: "Google"
3 changes: 2 additions & 1 deletion ext/panko_serializer/attributes_writer/type_cast/type_cast.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ static struct _TypeCast type_casts[] = {

{NULL, NULL}};

extern VALUE type_cast(VALUE type_metadata, VALUE value, volatile VALUE* isJson);
extern VALUE type_cast(VALUE type_metadata, VALUE value,
volatile VALUE* isJson);
void panko_init_type_cast(VALUE mPanko);

// Introduced in ruby 2.4
Expand Down

0 comments on commit aa4af28

Please sign in to comment.