Skip to content

Commit d95cf43

Browse files
committed
updated to v4 in .github/workflows
1 parent 12f3978 commit d95cf43

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/pull_request_ci.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
# First, we check out the repository's code using the Github Actions' "Checkout" tool.
2727
- name: Checkout code
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
with:
3030
submodules: 'recursive'
3131

@@ -59,7 +59,7 @@ jobs:
5959
sudo chown root:root /usr/bin/tar && sudo chmod u+s /usr/bin/tar
6060
- name: Cache protobuf-c
6161
id: cache-protobuf-c
62-
uses: actions/cache@v3 # Uses the Github Actions' "Cache" tool
62+
uses: actions/cache@v4 # Uses the Github Actions' "Cache" tool
6363
with:
6464
# These are the files we cache
6565
path: |
@@ -74,6 +74,15 @@ jobs:
7474
run: |
7575
sudo chown runner:runner /usr/bin/tar && sudo chmod u+x /usr/bin/tar
7676
77+
# Before we build Runtime, we check the formatting
78+
- name: Debug
79+
run: |
80+
ls
81+
pwd
82+
- name: Format
83+
run: |
84+
./runtime format check
85+
7786
# This if statement determine whether the cache lookup was a hit (true) or miss (not true--idk, false doesn't work)
7887
# If the cache lookup hit, we just run "sudo ldconfig" to tell the linker where to look for
7988
# protobuf-c files. If the cache lookup missed, we have to install protobuf-c from scratch
@@ -89,11 +98,6 @@ jobs:
8998
tar -xzf protobuf-c-1.4.1.tar.gz
9099
cd protobuf-c-1.4.1 && ./configure && make && sudo make install && sudo ldconfig
91100
92-
# Before we build Runtime, we check the formatting
93-
- name: Format
94-
run: |
95-
./runtime format check
96-
97101
# Now that we are done installing Runtime's dependencies, we build Runtime
98102
- name: Build
99103
run: |

0 commit comments

Comments
 (0)