diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8022485 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "sunday" + commit-message: + prefix: "ci" + include: "scope" diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 67ac01a..d36b1da 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -25,7 +25,7 @@ jobs: - name: Install format dependencies run: | - choco install llvm --version 18.1.3 -y + choco install llvm --version 21.1.8 -y choco install ninja -y pip3 install cmake_format==0.6.11 pyyaml diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index de49287..1ccc501 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -22,21 +22,21 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, ubuntu-latest] - version: [11] + os: [ubuntu-22.04, ubuntu-24.04] + version: [11, 12, 13] include: - - os: ubuntu-latest - version: 12 + - os: ubuntu-24.04 + version: 14 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - - uses: actions/cache@v3 + - uses: actions/cache@v5 with: path: "**/cpm_modules" key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} - name: set up GCC - uses: egor-tensin/setup-gcc@v1 + uses: egor-tensin/setup-gcc@v2 with: version: ${{matrix.version}} platform: x64 @@ -55,20 +55,20 @@ jobs: - name: Set up coverage tools run: | sudo apt-get install lcov gcovr -y - if: matrix.version == 11 && matrix.os == 'ubuntu-20.04' + if: matrix.version == 13 && matrix.os == 'ubuntu-24.04' - name: Generate coverage report working-directory: ${{github.workspace}}/build/test/CMakeFiles/thread-pool-tests.dir run: | - lcov --directory . --capture --gcov gcov-11 --output-file coverage.info + lcov --directory . --capture --gcov gcov-13 --output-file coverage.info lcov --remove coverage.info '*/test/*' --output-file coverage.info - if: matrix.version == 11 && matrix.os == 'ubuntu-20.04' + if: matrix.version == 13 && matrix.os == 'ubuntu-24.04' - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: files: ${{github.workspace}}/build/test/CMakeFiles/thread-pool-tests.dir/coverage.info - if: matrix.version == 11 && matrix.os == 'ubuntu-20.04' + if: matrix.version == 13 && matrix.os == 'ubuntu-24.04' build-clang: name: "clang-${{matrix.version}}" @@ -79,21 +79,21 @@ jobs: fail-fast: false max-parallel: 4 matrix: - version: [14, 15, 16, 17, 18, 19] + version: [14, 15, 16, 17, 18, 19, 20, 21] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - - uses: actions/cache@v3 + - uses: actions/cache@v5 with: path: "**/cpm_modules" key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} # clang needs GCC - name: set up GCC - uses: egor-tensin/setup-gcc@v1 + uses: egor-tensin/setup-gcc@v2 with: - version: 11 + version: 13 platform: x64 - name: Install libs run: |