Skip to content

Commit 3b2c2ee

Browse files
committed
.github: minor fixes
- bump GitHub Actions to Node.js 24 compatible versions - simplify, skip apt update - prevent duplicate jobs Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent 10f1218 commit 3b2c2ee

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
branches:
1212
- '**'
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
build:
1620
# Verify we can build on latest Ubuntu with both gcc and clang
@@ -26,9 +30,8 @@ jobs:
2630
steps:
2731
- name: Install dependencies
2832
run: |
29-
sudo apt-get -y update
3033
sudo apt-get -y install tree tshark valgrind libssl-dev
31-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v6
3235
- name: Configure
3336
run: |
3437
set -x
@@ -63,7 +66,7 @@ jobs:
6366
run: |
6467
cd build/dir
6568
make check || (cat test/test-suite.log; false)
66-
- uses: actions/upload-artifact@v4
69+
- uses: actions/upload-artifact@v7
6770
with:
6871
name: ${{ matrix.compiler }}-test-logs
6972
path: build/dir/test/*.log

.github/workflows/coverity.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
coverity:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
19-
- uses: actions/cache@v4
18+
- uses: actions/checkout@v6
19+
- uses: actions/cache@v5
2020
id: coverity-toolchain-cache
2121
with:
2222
path: cov-analysis-linux64
@@ -53,7 +53,7 @@ jobs:
5353
--form description="${PROJECT_NAME} $(git rev-parse HEAD)" \
5454
https://scan.coverity.com/builds?project=${COVERITY_PROJ}
5555
- name: Upload build.log
56-
uses: actions/upload-artifact@v4
56+
uses: actions/upload-artifact@v7
5757
with:
5858
name: coverity-build.log
5959
path: cov-int/build-log.txt

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ jobs:
1111
if: startsWith(github.ref, 'refs/tags/')
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- name: Installing dependencies ...
1616
run: |
17-
sudo apt-get -y update
1817
sudo apt-get -y install tree tshark valgrind
1918
- name: Creating Makefiles ...
2019
run: |

0 commit comments

Comments
 (0)