mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
⏫ Update clang-format to 14.0, pin version (#266)
This commit is contained in:
committed by
GitHub
parent
8e0fb8e438
commit
02e94cafcb
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
clang-format:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -21,10 +21,10 @@ jobs:
|
||||
- "example/**/*.cpp"
|
||||
steps:
|
||||
- run: |
|
||||
sudo apt-get install clang-format
|
||||
sudo apt-get install clang-format-14
|
||||
shopt -s globstar
|
||||
- uses: actions/checkout@v2
|
||||
- run: clang-format -i ${{ matrix.files }}
|
||||
- run: clang-format-14 -i ${{ matrix.files }}
|
||||
- uses: ./.github/actions/process-linting-results
|
||||
with:
|
||||
linter_name: clang-format
|
||||
|
||||
@@ -2039,8 +2039,8 @@ namespace jwt {
|
||||
};
|
||||
|
||||
template<typename object_type, typename string_type>
|
||||
using is_count_signature = typename std::is_integral<decltype(
|
||||
std::declval<const object_type>().count(std::declval<const string_type>()))>;
|
||||
using is_count_signature = typename std::is_integral<decltype(std::declval<const object_type>().count(
|
||||
std::declval<const string_type>()))>;
|
||||
|
||||
template<typename object_type, typename string_type>
|
||||
struct has_subcription_operator {
|
||||
|
||||
Reference in New Issue
Block a user