Skip to content

Commit 7886ed1

Browse files
committed
Update github action
- Use latest version of checkout action. - Checkout the head of the PR commit. - Install json-c dependency. Signed-off-by: Alex Jaramillo <[email protected]>
1 parent d162311 commit 7886ed1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ccpp.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v1
11+
- uses: actions/checkout@v4
12+
with:
13+
ref: ${{ github.event.pull_request.head.sha }}
1214
- name: install dependencies
13-
run: sudo apt-get install libcurl4-gnutls-dev valgrind libelf-dev libdw-dev
15+
run: sudo apt-get install libcurl4-gnutls-dev valgrind libelf-dev libdw-dev libjson-c-dev
1416
- name: install check
1517
run: wget https://github.com/libcheck/check/releases/download/0.12.0/check-0.12.0.tar.gz &&
1618
tar xf check-0.12.0.tar.gz &&

0 commit comments

Comments
 (0)