Skip to content

Commit 5af4585

Browse files
authored
Merge pull request #343 from cloudflare/ivan/single-lint
Only run lint with a built-in libbpf
2 parents cf9abf4 + 86fb8e8 commit 5af4585

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -314,36 +314,6 @@ jobs:
314314
- name: Test privileged
315315
run: make -j $(nproc) test-privileged
316316

317-
lint-ebpf-exporter-x86_64-system-libbpf:
318-
name: Lint ebpf_exporter (x86_64, system libbpf)
319-
needs: build-libbpf-docker-x86_64
320-
runs-on: ubuntu-22.04
321-
steps:
322-
- uses: actions/setup-go@v3
323-
with:
324-
go-version: ^1.21
325-
326-
- uses: actions/checkout@v3
327-
328-
- name: Download libbpf.tar.gz
329-
uses: actions/download-artifact@v3
330-
with:
331-
name: libbpf.x86_64.tar.gz
332-
333-
- name: Install libbpf
334-
run: sudo tar -C / -xvvf libbpf.x86_64.tar.gz
335-
336-
- name: Install libelf-dev
337-
run: sudo apt-get install -y libelf-dev
338-
339-
- name: Check vendored dependencies
340-
run: go mod verify
341-
342-
- name: Run golangci-lint
343-
uses: golangci/golangci-lint-action@v3
344-
with:
345-
version: v1.54.2
346-
347317
lint-ebpf-exporter-x86_64-built-in-libbpf:
348318
name: Lint ebpf_exporter (x86_64, built-in libbpf)
349319
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)