Skip to content

Commit 66dc003

Browse files
committed
.github: Update versions in covscan and release workflows
Update actions/checkout and pin covscan environment to ubuntu-22.04 using clang-19. Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
1 parent 84d3c95 commit 66dc003

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/covscan.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ on:
77

88
jobs:
99
latest:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
11+
env:
12+
LLVM_VERSION: 19
13+
CLANG: clang-19
14+
LLC: llc-19
1115
steps:
1216
- name: Check out repository code
13-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1418
with:
1519
submodules: recursive
1620

@@ -22,9 +26,9 @@ jobs:
2226
- name: Prepare Clang
2327
run: |
2428
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
25-
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main" | sudo tee -a /etc/apt/sources.list
29+
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-$LLVM_VERSION main" | sudo tee -a /etc/apt/sources.list
2630
sudo apt-get -qq update
27-
sudo apt-get -qq -y install clang-11 lld-11 llvm-11
31+
sudo apt-get -qq -y install clang-$LLVM_VERSION lld-$LLVM_VERSION llvm-$LLVM_VERSION
2832
2933
- name: Download Coverity Build Tool
3034
run: |
@@ -36,9 +40,6 @@ jobs:
3640

3741
- name: Configure
3842
run: ./configure
39-
env:
40-
CLANG: clang-11
41-
LLC: llc-11
4243

4344
- name: Build with cov-build
4445
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Check out repository code
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
with:
1818
submodules: recursive
1919

0 commit comments

Comments
 (0)