Skip to content

Commit 4249520

Browse files
committed
fix: Add a cached way of installing apt packages
1 parent a881e1a commit 4249520

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build_test.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ jobs:
4040
toolchain: stable
4141
override: true
4242
components: rustfmt, clippy
43-
- name: Install debian deps
44-
run: sudo apt install build-essential bison flex clang protobuf-compiler libreadline8 libreadline-dev -y
43+
- uses: gerlero/apt-install@v1
44+
with:
45+
packages: build-essential bison flex clang protobuf-compiler libreadline8 libreadline-dev
4546
- name: Install pgrx
4647
run: cargo install cargo-pgrx --version 0.16.0 --locked
4748
if: steps.cache_pgrx.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)