Skip to content

Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 #134

Bump google.golang.org/protobuf from 1.32.0 to 1.33.0

Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 #134

Workflow file for this run

name: ci
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
tags: ["*"]
env:
LIBBPF_VERSION: 1.2.0
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
# Run unit tests and linters.
- uses: golangci/golangci-lint-action@v3
with:
version: latest
skip-cache: true
- run: make go/test
bpf:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
# Install clang and required tooling.
- run: sudo apt update -y && sudo apt install -y clang-14 libelf-dev llvm
# Install libbpf.
- run: |
curl -sSL "https://github.com/libbpf/libbpf/archive/refs/tags/v${{ env.LIBBPF_VERSION }}.tar.gz" -o /tmp/libbpf.tar.gz
sudo mkdir -p /usr/include/bpf/
sudo tar -xvf /tmp/libbpf.tar.gz --strip-components=2 -C /usr/include/bpf --wildcards "libbpf-${{ env.LIBBPF_VERSION }}/src/*.h"
# Generate BPF and check output for diffs.
- run: make bpf/build
- run: git diff --exit-code ./pkg/bpf/*.go