From 35d465b805d9f0d2bd515b972214fed499f30bca Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Thu, 24 Oct 2024 17:42:31 +0200 Subject: [PATCH 1/3] gh: daily validation of the ELL compatibility We recently had some issues because the ELL API has been broken without notice. Simply adding a cron to run the tests once a day during the week should tell us when an incompatible change has been introduced on ELL side, so we can get a bit of time to prepare a fix and a new release. Link: #302 Signed-off-by: Matthieu Baerts (NGI0) --- .github/workflows/ell-master.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ell-master.yml b/.github/workflows/ell-master.yml index 7d198537..6b794c01 100644 --- a/.github/workflows/ell-master.yml +++ b/.github/workflows/ell-master.yml @@ -5,6 +5,8 @@ on: branches: [ main ] pull_request: branches: [ main ] + schedule: + - cron: '33 6 * * 1-5' jobs: build: From 9c5b4816a70732b05be8a509eea1efba374c3d29 Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Thu, 24 Oct 2024 17:52:16 +0200 Subject: [PATCH 2/3] gh: switch to checkout v4 The previous version is deprecated, each job gets this warning: The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ No further changes needed: we use the public runners with ubuntu-latest. Signed-off-by: Matthieu Baerts (NGI0) --- .github/workflows/ccpp.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/ell-master.yml | 2 +- .github/workflows/multipath-tcp.org.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 24387fb8..ee2b50d1 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -16,7 +16,7 @@ jobs: debug: [enable-debug, disable-debug] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: dependencies run: sudo apt-get -y install autoconf-archive pandoc git - name: build and install ELL diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7a0300ee..4a8c4098 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: dependencies run: sudo apt-get -y install autoconf-archive lcov git - name: build and install ELL diff --git a/.github/workflows/ell-master.yml b/.github/workflows/ell-master.yml index 6b794c01..12784d5c 100644 --- a/.github/workflows/ell-master.yml +++ b/.github/workflows/ell-master.yml @@ -18,7 +18,7 @@ jobs: cc: [gcc, clang] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: dependencies run: sudo apt-get -y install autoconf-archive git clang - name: build and install ELL diff --git a/.github/workflows/multipath-tcp.org.yml b/.github/workflows/multipath-tcp.org.yml index 287d04e7..153ab7fe 100644 --- a/.github/workflows/multipath-tcp.org.yml +++ b/.github/workflows/multipath-tcp.org.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: dependencies run: sudo apt-get -y install autoconf-archive git - name: build and install ELL From a739403aaac42aada16fac3d54a3c2b48527e4c9 Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Thu, 24 Oct 2024 17:54:37 +0200 Subject: [PATCH 3/3] gh: coveralls: switch to v2 The previous version is deprecated, each job using it gets this warning: The following actions uses a deprecated Node.js version and will be forced to run on node20: coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ We just have to use 'file' instead of 'path-to-lcov' which is deprecated. No further changes needed: we use the public runners with ubuntu-latest. Signed-off-by: Matthieu Baerts (NGI0) --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4a8c4098..d132c334 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -30,7 +30,7 @@ jobs: CODE_COVERAGE_OUTPUT_FILE=lcov.info \ CODE_COVERAGE_LCOV_OPTIONS="--no-external --exclude */tests/*" - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: ./lcov.info + file: ./lcov.info