Skip to content

Commit 0f867d3

Browse files
committed
ci: two check-commits.yml changes
* Switch to v4 actions/checkout (from v3) * Use our apt wrapper to gracefully handle temporary repository errors Signed-off-by: Adrian Reber <areber@redhat.com>
1 parent 5aa36b2 commit 0f867d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-commits.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
# Check if pull request does not have label "not-selfcontained-ok"
1313
if: "!contains(github.event.pull_request.labels.*.name, 'not-selfcontained-ok')"
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
# Needed to rebase against the base branch
1818
fetch-depth: 0
1919
# Checkout pull request HEAD commit instead of merge commit
2020
ref: ${{ github.event.pull_request.head.sha }}
2121
- name: Install dependencies
22-
run: sudo apt-get install -y libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnl-3-dev libnet-dev libcap-dev
22+
run: sudo scripts/ci/apt-install libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnl-3-dev libnet-dev libcap-dev
2323
- name: Configure git user details
2424
run: |
2525
git config --global user.email "checkpoint-restore@users.noreply.github.com"

0 commit comments

Comments
 (0)