mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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>
This commit is contained in:
parent
061f4266e8
commit
815ef68848
1 changed files with 2 additions and 2 deletions
4
.github/workflows/check-commits.yml
vendored
4
.github/workflows/check-commits.yml
vendored
|
|
@ -12,14 +12,14 @@ jobs:
|
|||
# Check if pull request does not have label "not-selfcontained-ok"
|
||||
if: "!contains(github.event.pull_request.labels.*.name, 'not-selfcontained-ok')"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# Needed to rebase against the base branch
|
||||
fetch-depth: 0
|
||||
# Checkout pull request HEAD commit instead of merge commit
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Install dependencies
|
||||
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
|
||||
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
|
||||
- name: Configure git user details
|
||||
run: |
|
||||
git config --global user.email "checkpoint-restore@users.noreply.github.com"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue