Skip to content

Commit e28f504

Browse files
committed
fix CodeQL workflow by installing protobuf-c
1 parent a99a9f6 commit e28f504

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ jobs:
5252
# ℹ️ Command-line programs to run using the OS shell.
5353
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
5454

55+
- name: Provision agent's build dependencies
56+
if: ${{ matrix.language == 'c-cpp' }}
57+
run: |
58+
sudo apt-get update
59+
sudo apt-get install -y libprotobuf-c-dev protobuf-c-compiler
60+
5561
- name: Build
5662
run: |
5763
make ${{ matrix.language == 'go' && 'daemon' || 'agent' }}

0 commit comments

Comments
 (0)