Skip to content

Commit 690ed6c

Browse files
committed
ci: modernize actions
1 parent 8c132e7 commit 690ed6c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/cmake-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: [macos-13, ubuntu-20.04, windows-2019]
11+
os: [macos-13, ubuntu-22.04, windows-2019]
1212
dependencies: [submodule, vcpkg]
1313
steps:
1414
- name: Checkout source

.github/workflows/coverage.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44
jobs:
55
build:
66
name: Code Coverage
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-24.04
88
steps:
99
- name: Checkout source
1010
uses: actions/checkout@v4
@@ -54,7 +54,7 @@ jobs:
5454
run: lcov --capture --directory "${{ github.workspace }}/_build" --output-file coverage.info --no-external --directory "${{ github.workspace }}" --exclude '*/tests/*'
5555

5656
- name: Coveralls
57-
uses: coverallsapp/github-action@master
57+
uses: coverallsapp/github-action@v2
5858
with:
5959
github-token: ${{ secrets.GITHUB_TOKEN }}
60-
path-to-lcov: coverage.info
60+
files: coverage.info

.github/workflows/doxygen.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66

77
jobs:
88
build:
9-
name: Code Coverage
10-
runs-on: ubuntu-20.04
9+
name: Documentation
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: Checkout source
1313
uses: actions/checkout@v4
@@ -23,7 +23,7 @@ jobs:
2323
working-directory: "${{ github.workspace }}/doc"
2424

2525
- name: Deploy documentation
26-
uses: peaceiris/actions-gh-pages@v3
26+
uses: peaceiris/actions-gh-pages@v4
2727
with:
2828
github_token: ${{ secrets.GITHUB_TOKEN }}
2929
force_orphan: true

.github/workflows/linting.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
- name: Install dependencies
1212
run: |
1313
apt-get update
14-
apt-get install -y --no-install-recommends ca-certificates clang-14 cmake git iwyu libbenchmark-dev libcurl4-openssl-dev ninja-build zlib1g-dev
14+
apt-get install -y --no-install-recommends ca-certificates clang-19 cmake git iwyu libbenchmark-dev libcurl4-openssl-dev ninja-build zlib1g-dev
1515
1616
- name: Checkout source
1717
uses: actions/checkout@v4
1818
with:
1919
submodules: true
2020

2121
- name: "CMake Configure"
22-
run: cmake -GNinja -DRUN_IWYU=ON -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14 -S ${GITHUB_WORKSPACE} -B ${GITHUB_WORKSPACE}/_build
22+
run: cmake -GNinja -DRUN_IWYU=ON -DCMAKE_C_COMPILER=clang-19 -DCMAKE_CXX_COMPILER=clang++-19 -S ${GITHUB_WORKSPACE} -B ${GITHUB_WORKSPACE}/_build
2323

2424
- name: Build
2525
run: cmake --build ${GITHUB_WORKSPACE}/_build 2>&1 | tee ${GITHUB_WORKSPACE}/output.txt
@@ -35,13 +35,13 @@ jobs:
3535

3636
format:
3737
name: Clang Format
38-
runs-on: ubuntu-22.04
38+
runs-on: ubuntu-24.04
3939
steps:
4040
- name: Checkout source
4141
uses: actions/checkout@v4
4242

4343
# clang-format comes pre-installed
44-
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
44+
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
4545

4646
- name: Run clang-format
4747
run: find . -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.cxx' -o -name '*.o' -o -name '*.h' -o -name '*.hpp' -o -name '*.hxx' \) -exec clang-format-15 -style=file -i {} \;

0 commit comments

Comments
 (0)