File tree 5 files changed +10
-4
lines changed
actions/cmake-project-setup
5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 5
5
using : composite
6
6
steps :
7
7
- name : Install CMake
8
- uses : lukka/get-cmake@latest
8
+ uses : lukka/get-cmake@v3.30.5
9
9
- name : Setup anew (or from cache) vcpkg (and does not build any package)
10
10
uses : lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
11
11
- name : Prepare CMakeUserPresets.json
Original file line number Diff line number Diff line change 5
5
- " **.cpp"
6
6
- " **.hpp"
7
7
- " **/CMakeLists.txt"
8
+ - " .github/actions/cmake-project-setup/**"
9
+ - " .github/workflows/build-test-run.yaml"
8
10
- " .github/CMakeUserPresets.json"
9
11
- " aoc/**/input-*.txt"
10
12
- " vcpkg-configuration.json"
56
58
- name : Setup CMake project
57
59
uses : ./.github/actions/cmake-project-setup
58
60
- name : Run CMake workflow
59
- uses : lukka/run-cmake@v10
61
+ uses : lukka/run-cmake@v10.7
60
62
with :
61
63
workflowPreset : " ${{matrix.workflowPreset}}"
62
64
- name : Run aoc
Original file line number Diff line number Diff line change 5
5
- " **.cpp"
6
6
- " **.hpp"
7
7
- " .clang-format"
8
+ - " .github/workflows/check-clang-format.yaml"
8
9
workflow_call :
9
10
workflow_dispatch :
10
11
16
17
- name : Checkout
17
18
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18
19
- name : Setup task
19
- uses : arduino/setup-task@v2
20
+ uses : arduino/setup-task@v2.0.0
20
21
- name : Check with clang-format
21
22
run : task check:clang-format
Original file line number Diff line number Diff line change 6
6
- " **.hpp"
7
7
- " **/CMakeLists.txt"
8
8
- " .clang-tidy"
9
+ - " .github/actions/cmake-project-setup/**"
10
+ - " .github/workflows/check-clang-tidy.yaml"
9
11
- " .github/CMakeUserPresets.json"
10
12
- " vcpkg-configuration.json"
11
13
- " vcpkg.json"
30
32
- name : Setup CMake project
31
33
uses : ./.github/actions/cmake-project-setup
32
34
- name : Configure CMake project
33
- uses : lukka/run-cmake@v10
35
+ uses : lukka/run-cmake@v10.7
34
36
with :
35
37
configurePreset : " ${{matrix.configurePreset}}"
36
38
- name : Run clang-tidy
Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
paths :
5
5
- " .github/renovate.json5"
6
+ - " .github/workflows/check-renovate-config.yaml"
6
7
workflow_call :
7
8
workflow_dispatch :
8
9
You can’t perform that action at this time.
0 commit comments