Skip to content

Commit

Permalink
update Github Action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yixuan committed Jan 1, 2025
1 parent 1e22687 commit 8115b37
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
os: [ ubuntu-22.04, ubuntu-latest ]
compiler: [ gcc, clang ]
BUILD_TYPE: [ Debug, Release ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt install libeigen3-dev
- name: configure
Expand All @@ -27,3 +27,4 @@ jobs:
run: cmake --build build -- -j4
- name: test
run: cd build && ctest

3 changes: 2 additions & 1 deletion .github/workflows/checkformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
matrix:
compiler: [gcc]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt install libeigen3-dev clang-format
- name: cmake
run: cmake -B builddir
- name: Format
run: cmake --build builddir --target format && git diff --exit-code

7 changes: 4 additions & 3 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [ gcc ]
BUILD_TYPE : [ Debug ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt install libeigen3-dev lcov
- name: configure
Expand All @@ -28,4 +28,5 @@ jobs:
- name: Generate coverage data
run: lcov --directory . --capture --output-file coverage.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5

0 comments on commit 8115b37

Please sign in to comment.