23
23
- run : |
24
24
sudo apt-get install clang-format-14
25
25
shopt -s globstar
26
- - uses : actions/checkout@v3
26
+ - uses : actions/checkout@v4
27
27
- run : clang-format-14 -i ${{ matrix.files }}
28
28
- uses : ./.github/actions/process-linting-results
29
29
with :
41
41
python-version : " 3.x"
42
42
- run : pip install cmakelang
43
43
- run : shopt -s globstar
44
- - uses : actions/checkout@v3
44
+ - uses : actions/checkout@v4
45
45
- run : cmake-format -i ${{ matrix.files }}
46
46
- uses : ./.github/actions/process-linting-results
47
47
with :
52
52
steps :
53
53
- run : sudo apt-get install clang-tidy
54
54
- uses : lukka/get-cmake@latest
55
- - uses : actions/checkout@v3
55
+ - uses : actions/checkout@v4
56
56
- name : configure
57
57
run : |
58
58
mkdir build
66
66
linter_name : clang-tidy
67
67
68
68
render-defaults :
69
- runs-on : ubuntu-20 .04
69
+ runs-on : ubuntu-22 .04
70
70
strategy :
71
71
fail-fast : false
72
72
matrix :
@@ -78,22 +78,24 @@ jobs:
78
78
- { name: "open_source_parsers_jsoncpp", library: "jsoncpp", url: "https://github.com/open-source-parsers/jsoncpp", disable_pico: true }
79
79
name : render-defaults (${{ matrix.traits.name }})
80
80
steps :
81
- - uses : actions/checkout@v3
81
+ - uses : actions/checkout@v4
82
+ - run : |
83
+ sudo apt-get install clang-format-14
82
84
- uses : ./.github/actions/render/defaults
83
85
id : render
84
86
with :
85
87
traits_name : ${{ matrix.traits.name }}
86
88
library_name : ${{ matrix.traits.library }}
87
89
library_url : ${{ matrix.traits.url }}
88
90
disable_default_traits : ${{ matrix.traits.disable_pico }}
89
- - run : clang-format -i ${{ steps.render.outputs.file_path }}
91
+ - run : clang-format-14 -i ${{ steps.render.outputs.file_path }}
90
92
- run : git add ${{ steps.render.outputs.file_path }}
91
93
- uses : ./.github/actions/process-linting-results
92
94
with :
93
95
linter_name : render-defaults
94
96
95
97
render-tests :
96
- runs-on : ubuntu-20 .04
98
+ runs-on : ubuntu-22 .04
97
99
strategy :
98
100
fail-fast : false
99
101
matrix :
@@ -105,13 +107,15 @@ jobs:
105
107
- { name: "open_source_parsers_jsoncpp", suite: "OspJsoncppTest" }
106
108
name : render-tests (${{ matrix.traits.name }})
107
109
steps :
108
- - uses : actions/checkout@v3
109
- - run : shopt -s globstar
110
+ - uses : actions/checkout@v4
111
+ - run : |
112
+ sudo apt-get install clang-format-14
113
+ shopt -s globstar
110
114
- uses : ./.github/actions/render/tests
111
115
with :
112
116
traits_name : ${{ matrix.traits.name }}
113
117
test_suite_name : ${{ matrix.traits.suite }}
114
- - run : clang-format -i tests/**/*.cpp
118
+ - run : clang-format-14 -i tests/**/*.cpp
115
119
- run : git add tests/traits/*
116
120
- uses : ./.github/actions/process-linting-results
117
121
with :
@@ -120,7 +124,7 @@ jobs:
120
124
line-ending :
121
125
runs-on : ubuntu-20.04
122
126
steps :
123
- - uses : actions/checkout@v3
127
+ - uses : actions/checkout@v4
124
128
- run : git add --renormalize .
125
129
- uses : ./.github/actions/process-linting-results
126
130
with :
0 commit comments