Skip to content

Commit 0dd4507

Browse files
committed
ci: modernize actions
1 parent a053ada commit 0dd4507

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/cmake-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [macos-13, ubuntu-20.04, windows-2019]
14+
os: [macos-13, ubuntu-22.04, windows-2019]
1515
dependencies: [submodule, vcpkg]
1616
steps:
1717
- name: Checkout source

.github/workflows/coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ concurrency:
77
jobs:
88
build:
99
name: Code Coverage
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: Checkout source
1313
uses: actions/checkout@v4
@@ -57,7 +57,7 @@ jobs:
5757
run: lcov --capture --directory "${{ github.workspace }}/_build" --output-file coverage.info --no-external --directory "${{ github.workspace }}" --exclude '*/tests/*'
5858

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

.github/workflows/doxygen.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ concurrency:
99

1010
jobs:
1111
build:
12-
name: Code Coverage
13-
runs-on: ubuntu-20.04
12+
name: Documentation
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Checkout source
1616
uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
2626
working-directory: "${{ github.workspace }}/doc"
2727

2828
- name: Deploy documentation
29-
uses: peaceiris/actions-gh-pages@v3
29+
uses: peaceiris/actions-gh-pages@v4
3030
with:
3131
github_token: ${{ secrets.GITHUB_TOKEN }}
3232
force_orphan: true

.github/workflows/linting.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
- name: Install dependencies
1515
run: |
1616
apt-get update
17-
apt-get install -y --no-install-recommends ca-certificates clang-14 cmake git iwyu libbenchmark-dev libcurl4-openssl-dev ninja-build zlib1g-dev
17+
apt-get install -y --no-install-recommends ca-certificates clang-19 cmake git iwyu libbenchmark-dev libcurl4-openssl-dev ninja-build zlib1g-dev
1818
1919
- name: Checkout source
2020
uses: actions/checkout@v4
2121
with:
2222
submodules: true
2323

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

2727
- name: Build
2828
run: cmake --build ${GITHUB_WORKSPACE}/_build 2>&1 | tee ${GITHUB_WORKSPACE}/output.txt
@@ -38,13 +38,13 @@ jobs:
3838

3939
format:
4040
name: Clang Format
41-
runs-on: ubuntu-22.04
41+
runs-on: ubuntu-24.04
4242
steps:
4343
- name: Checkout source
4444
uses: actions/checkout@v4
4545

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

4949
- name: Run clang-format
5050
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)