Skip to content

Commit 072e1a4

Browse files
committed
ci(pre-commit): install dependencies needed for cargo test
1 parent 5425ecf commit 072e1a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

template/.github/workflows/pr_pre-commit.yaml.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
pre-commit:
1414
runs-on: ubuntu-latest
1515
steps:
16+
- name: Install host dependencies
17+
uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2
18+
with:
19+
packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
20+
version: ubuntu-latest
1621
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1722
with:
1823
fetch-depth: 0

0 commit comments

Comments
 (0)