aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2025-01-11 12:02:02 +0100
committerGitHub <noreply@github.com>2025-01-11 12:02:02 +0100
commit957a05050078e9d7fd92d6175a9f693ac649ba8f (patch)
tree4423519d4cda4dc0260c9e307ee31363a3d5be1e
parent9a0a3bb8e77896d11c851736c550a0f8e10e3a43 (diff)
Fix CodeQL GitHub action (#2665)
For some reansons, the installation of golang-1.16 fails on ubuntu 24.04 (note that ubuntu-latest now is pointing to ubuntu-24.04). It seems that everything is fine if we use the already installed version of golang
-rw-r--r--.github/workflows/codeql.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index b51e516e2..1f6dd02cd 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -14,7 +14,6 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
env:
- GO111MODULE: on
CFLAGS: -Werror
permissions:
actions: read
@@ -32,11 +31,10 @@ jobs:
fetch-depth: 0
- name: Install Ubuntu Prerequisites
run: |
- sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install -y libunwind-dev
sudo apt-get install autoconf automake libtool pkg-config gettext flex bison libpcap-dev
- sudo apt-get install golang-1.16-go libgoogle-perftools-dev graphviz
+ sudo apt-get install libgoogle-perftools-dev graphviz
go install github.com/google/pprof@latest
sudo ln -s ${HOME}/go/bin/pprof /usr/bin/pprof
pprof -h