1515 uses : actions/checkout@v4
1616 - name : Set up environment
1717 uses : ./.github/workflows/env
18- - name : Set up Go
19- uses : actions/setup-go@v5
20- with :
21- go-version-file : go.mod
22- check-latest : true
23- cache-dependency-path : go.sum
24- id : go
2518 - name : Check for changes in licenses of dependencies
2619 run : |
2720 make legal
4134 uses : actions/checkout@v4
4235 - name : Set up environment
4336 uses : ./.github/workflows/env
44- - name : Set up Go
45- uses : actions/setup-go@v5
46- with :
47- go-version-file : go.mod
48- check-latest : true
49- cache-dependency-path : go.sum
50- id : go
5137 - name : Get linter version
5238 id : linter-version
5339 run : (echo -n "version="; make linter-version) >> "$GITHUB_OUTPUT"
7561 uses : actions/checkout@v4
7662 - name : Set up environment
7763 uses : ./.github/workflows/env
78- - name : Set up Go
79- uses : actions/setup-go@v5
80- with :
81- go-version-file : go.mod
82- check-latest : true
83- cache-dependency-path : go.sum
84- id : go
8564 - name : Cache coredump modules
8665 uses : actions/cache@v4
8766 with :
9473 run : make rust-tests
9574 - name : Tests
9675 run : make test TARGET_ARCH=${{ matrix.target_arch }}
76+ - name : Sudo Tests
77+ run : make sudo-test TARGET_ARCH=${{ matrix.target_arch }}
9778
9879 check-binary-blobs :
9980 name : Check for differences in the eBPF and Rust binary blobs
@@ -128,21 +109,13 @@ jobs:
128109 fi
129110
130111 build-integration-test-binaries :
131- name : Build integration test binaries (${{ matrix.target_arch }}-${{ matrix.go_version}} )
112+ name : Build integration test binaries (${{ matrix.target_arch }})
132113 runs-on : ubuntu-24.04
133114 timeout-minutes : 10
134115 strategy :
135116 matrix :
136117 target_arch : [amd64, arm64]
137- go_version : [1.23, 1.24]
138118 steps :
139- - name : Set up Go
140- uses : actions/setup-go@v5
141- with :
142- go-version : ${{ matrix.go_version }}
143- check-latest : true
144- cache-dependency-path : go.sum
145- id : go
146119 - name : Clone code
147120 uses : actions/checkout@v4
148121 - name : Set up environment
@@ -152,17 +125,16 @@ jobs:
152125 - name : Upload integration test binaries
153126 uses : actions/upload-artifact@v4
154127 with :
155- name : integration-test-binaries-${{ matrix.target_arch }}-${{ matrix.go_version}}
128+ name : integration-test-binaries-${{ matrix.target_arch }}
156129 path : support/*.test
157130
158131 integration-tests :
159- name : Integration tests (v${{ matrix.kernel }} ${{ matrix.target_arch }} ${{ matrix.go_version}} )
132+ name : Integration tests (v${{ matrix.kernel }} ${{ matrix.target_arch }})
160133 runs-on : ubuntu-24.04
161134 needs : build-integration-test-binaries
162135 timeout-minutes : 10
163136 strategy :
164137 matrix :
165- go_version : [1.23, 1.24]
166138 include :
167139 # List of available kernels here:
168140 # https://github.com/cilium/ci-kernels/pkgs/container/ci-kernels/versions?filters%5Bversion_type%5D=tagged
@@ -186,13 +158,6 @@ jobs:
186158 steps :
187159 - name : Clone code
188160 uses : actions/checkout@v4
189- - name : Set up Go
190- uses : actions/setup-go@v5
191- with :
192- go-version : ${{ matrix.go_version }}
193- check-latest : true
194- cache-dependency-path : go.sum
195- id : go
196161 - name : Install dependencies
197162 run : |
198163 sudo apt-get update -y
@@ -205,7 +170,7 @@ jobs:
205170 sudo mv ~/go/bin/bluebox /usr/local/bin/.
206171 - name : Fetch integration test binaries
207172 uses : actions/download-artifact@v4
208- with : { name: "integration-test-binaries-${{ matrix.target_arch }}-${{ matrix.go_version}} " }
173+ with : { name: "integration-test-binaries-${{ matrix.target_arch }}" }
209174 - name : Fetch precompiled kernel
210175 run : |
211176 install -d ci-kernels
0 commit comments