Skip to content

Commit d1a2e1f

Browse files
cclausstordex
authored andcommitted
Upgrade GitHub Actions
Updated actions/checkout version from v2 to v5 and improved comments for clarity. * https://github.com/actions/checkout/releases
1 parent c9a20df commit d1a2e1f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-24.04
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v5
2323

2424
- name: Packages
2525
# Install required packages
@@ -28,7 +28,8 @@ jobs:
2828
sudo apt-get install -yq --no-install-recommends --no-install-suggests libcairo2-dev libpango1.0-dev libgtk-3-dev
2929
3030
- name: Configure CMake
31-
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
31+
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a
32+
# single-configuration generator such as make.
3233
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
3334
run: cmake -B ${{github.workspace}}/build -DLITEHTML_BUILD_TESTING=ON -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
3435

@@ -39,6 +40,6 @@ jobs:
3940
- name: Test
4041
working-directory: ${{github.workspace}}/build
4142
# Execute tests defined by the CMake configuration.
42-
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
43+
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more details
4344
run: ctest -C ${{env.BUILD_TYPE}} --test-dir litehtml-tests-build --rerun-failed --output-on-failure -j3
4445

0 commit comments

Comments
 (0)