Skip to content

Commit

Permalink
CI: run clang format (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrantzsch committed Jul 25, 2023
1 parent 0f51db2 commit c593cce
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check Format

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
check_format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Run clang-format
run: clang-format --dry-run --Werror include/keychain/*.h src/*.cpp
1 change: 0 additions & 1 deletion src/keychain_mac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ void deletePassword(const std::string &package, const std::string &service,
if (!err && item) {
CFRelease(item);
}

}

} // namespace keychain

0 comments on commit c593cce

Please sign in to comment.