2323 - run : |
2424 sudo apt-get install clang-format-14
2525 shopt -s globstar
26- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
2727 - run : clang-format-14 -i ${{ matrix.files }}
2828 - uses : ./.github/actions/process-linting-results
2929 with :
4141 python-version : " 3.x"
4242 - run : pip install cmakelang
4343 - run : shopt -s globstar
44- - uses : actions/checkout@v3
44+ - uses : actions/checkout@v4
4545 - run : cmake-format -i ${{ matrix.files }}
4646 - uses : ./.github/actions/process-linting-results
4747 with :
5252 steps :
5353 - run : sudo apt-get install clang-tidy
5454 - uses : lukka/get-cmake@latest
55- - uses : actions/checkout@v3
55+ - uses : actions/checkout@v4
5656 - name : configure
5757 run : cmake --preset examples -DCMAKE_CXX_CLANG_TIDY="clang-tidy;-fix"
5858 - name : run
6262 linter_name : clang-tidy
6363
6464 render-defaults :
65- runs-on : ubuntu-20 .04
65+ runs-on : ubuntu-22 .04
6666 strategy :
6767 fail-fast : false
6868 matrix :
@@ -74,22 +74,24 @@ jobs:
7474 - { name: "open_source_parsers_jsoncpp", library: "jsoncpp", url: "https://github.com/open-source-parsers/jsoncpp", disable_pico: true }
7575 name : render-defaults (${{ matrix.traits.name }})
7676 steps :
77- - uses : actions/checkout@v3
77+ - uses : actions/checkout@v4
78+ - run : |
79+ sudo apt-get install clang-format-14
7880 - uses : ./.github/actions/render/defaults
7981 id : render
8082 with :
8183 traits_name : ${{ matrix.traits.name }}
8284 library_name : ${{ matrix.traits.library }}
8385 library_url : ${{ matrix.traits.url }}
8486 disable_default_traits : ${{ matrix.traits.disable_pico }}
85- - run : clang-format -i ${{ steps.render.outputs.file_path }}
87+ - run : clang-format-14 -i ${{ steps.render.outputs.file_path }}
8688 - run : git add ${{ steps.render.outputs.file_path }}
8789 - uses : ./.github/actions/process-linting-results
8890 with :
8991 linter_name : render-defaults
9092
9193 render-tests :
92- runs-on : ubuntu-20 .04
94+ runs-on : ubuntu-22 .04
9395 strategy :
9496 fail-fast : false
9597 matrix :
@@ -101,13 +103,15 @@ jobs:
101103 - { name: "open_source_parsers_jsoncpp", suite: "OspJsoncppTest" }
102104 name : render-tests (${{ matrix.traits.name }})
103105 steps :
104- - uses : actions/checkout@v3
105- - run : shopt -s globstar
106+ - uses : actions/checkout@v4
107+ - run : |
108+ sudo apt-get install clang-format-14
109+ shopt -s globstar
106110 - uses : ./.github/actions/render/tests
107111 with :
108112 traits_name : ${{ matrix.traits.name }}
109113 test_suite_name : ${{ matrix.traits.suite }}
110- - run : clang-format -i tests/**/*.cpp
114+ - run : clang-format-14 -i tests/**/*.cpp
111115 - run : git add tests/traits/*
112116 - uses : ./.github/actions/process-linting-results
113117 with :
@@ -116,7 +120,7 @@ jobs:
116120 line-ending :
117121 runs-on : ubuntu-20.04
118122 steps :
119- - uses : actions/checkout@v3
123+ - uses : actions/checkout@v4
120124 - run : git add --renormalize .
121125 - uses : ./.github/actions/process-linting-results
122126 with :
0 commit comments