Skip to content

Commit ebbc100

Browse files
Merge pull request #48 from nikobockerman/ci-action-version
ci: Specify action versions as existing tags
2 parents 1097dda + c3c59ef commit ebbc100

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

.github/actions/cmake-project-setup/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: composite
66
steps:
77
- name: Install CMake
8-
uses: lukka/get-cmake@latest
8+
uses: lukka/get-cmake@v3.30.5
99
- name: Setup anew (or from cache) vcpkg (and does not build any package)
1010
uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
1111
- name: Prepare CMakeUserPresets.json

.github/workflows/build-test-run.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
- "**.cpp"
66
- "**.hpp"
77
- "**/CMakeLists.txt"
8+
- ".github/actions/cmake-project-setup/**"
9+
- ".github/workflows/build-test-run.yaml"
810
- ".github/CMakeUserPresets.json"
911
- "aoc/**/input-*.txt"
1012
- "vcpkg-configuration.json"
@@ -56,7 +58,7 @@ jobs:
5658
- name: Setup CMake project
5759
uses: ./.github/actions/cmake-project-setup
5860
- name: Run CMake workflow
59-
uses: lukka/run-cmake@v10
61+
uses: lukka/run-cmake@v10.7
6062
with:
6163
workflowPreset: "${{matrix.workflowPreset}}"
6264
- name: Run aoc

.github/workflows/check-clang-format.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- "**.cpp"
66
- "**.hpp"
77
- ".clang-format"
8+
- ".github/workflows/check-clang-format.yaml"
89
workflow_call:
910
workflow_dispatch:
1011

@@ -16,6 +17,6 @@ jobs:
1617
- name: Checkout
1718
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1819
- name: Setup task
19-
uses: arduino/setup-task@v2
20+
uses: arduino/setup-task@v2.0.0
2021
- name: Check with clang-format
2122
run: task check:clang-format

.github/workflows/check-clang-tidy.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "**.hpp"
77
- "**/CMakeLists.txt"
88
- ".clang-tidy"
9+
- ".github/actions/cmake-project-setup/**"
10+
- ".github/workflows/check-clang-tidy.yaml"
911
- ".github/CMakeUserPresets.json"
1012
- "vcpkg-configuration.json"
1113
- "vcpkg.json"
@@ -30,7 +32,7 @@ jobs:
3032
- name: Setup CMake project
3133
uses: ./.github/actions/cmake-project-setup
3234
- name: Configure CMake project
33-
uses: lukka/run-cmake@v10
35+
uses: lukka/run-cmake@v10.7
3436
with:
3537
configurePreset: "${{matrix.configurePreset}}"
3638
- name: Run clang-tidy

.github/workflows/check-renovate-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
paths:
55
- ".github/renovate.json5"
6+
- ".github/workflows/check-renovate-config.yaml"
67
workflow_call:
78
workflow_dispatch:
89

0 commit comments

Comments
 (0)