diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index e6ab9bc..a7ca16b 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -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 @@ -27,3 +27,4 @@ jobs: run: cmake --build build -- -j4 - name: test run: cd build && ctest + diff --git a/.github/workflows/checkformat.yml b/.github/workflows/checkformat.yml index a2846ca..9a16079 100644 --- a/.github/workflows/checkformat.yml +++ b/.github/workflows/checkformat.yml @@ -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 + diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 71769d4..c135049 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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 @@ -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 +