mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
ci: update GitHub Actions to latest major versions
- actions/checkout v4 -> v7 - actions/stale v5 -> v10 - actions/cache v4 -> v6 - codecov/codecov-action v5 -> v7 - mondeja/remove-labels-gh-action v1 -> v2 Assisted-by: claude-code:claude-opus-4-6 Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
f298837dd6
commit
e30fe51618
8 changed files with 27 additions and 27 deletions
2
.github/actions/lima-vm-setup/action.yml
vendored
2
.github/actions/lima-vm-setup/action.yml
vendored
|
|
@ -15,7 +15,7 @@ runs:
|
|||
- name: Install Lima
|
||||
uses: lima-vm/lima-actions/setup@v1
|
||||
- name: Cache Lima images
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v6
|
||||
with:
|
||||
path: ~/.cache/lima
|
||||
key: ${{ inputs.cache-key-prefix }}-${{ github.sha }}
|
||||
|
|
|
|||
2
.github/workflows/check-commits.yml
vendored
2
.github/workflows/check-commits.yml
vendored
|
|
@ -12,7 +12,7 @@ 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@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
# Needed to rebase against the base branch
|
||||
fetch-depth: 0
|
||||
|
|
|
|||
40
.github/workflows/ci.yml
vendored
40
.github/workflows/ci.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
shard_name: non-zdtm
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Alpine ${{ matrix.target }} ${{ matrix.shard_name }} Test
|
||||
run: >
|
||||
sudo -E make -C scripts/ci alpine ${{ matrix.target }}
|
||||
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
target: [GCC=1, CLANG=1]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Alpine ${{ matrix.target }} Test
|
||||
run: sudo -E make -C scripts/ci alpine ${{ matrix.target }}
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
target: [GCC=1, CLANG=1]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Tests ${{ matrix.target }} on ${{ matrix.os }}
|
||||
run: |
|
||||
# The 'sched_policy00' needs the following:
|
||||
|
|
@ -92,7 +92,7 @@ jobs:
|
|||
shard_name: non-zdtm
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Arch Linux ${{ matrix.shard_name }} Test
|
||||
run: >
|
||||
sudo -E make -C scripts/ci archlinux
|
||||
|
|
@ -111,7 +111,7 @@ jobs:
|
|||
matrix:
|
||||
version: [9, 10]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./.github/actions/lima-vm-setup
|
||||
with:
|
||||
template: centos-stream-${{ matrix.version }}
|
||||
|
|
@ -133,7 +133,7 @@ jobs:
|
|||
matrix:
|
||||
target: [GCC, CLANG]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Compat Tests (${{ matrix.target }})
|
||||
run: sudo -E make -C scripts/ci local COMPAT_TEST=y ${{ matrix.target }}=1
|
||||
|
||||
|
|
@ -159,7 +159,7 @@ jobs:
|
|||
- experimental: true
|
||||
target: ppc64-unstable-cross
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Cross Compilation Targets
|
||||
run: >
|
||||
sudo make -C scripts/ci ${{ matrix.target }}
|
||||
|
|
@ -172,7 +172,7 @@ jobs:
|
|||
matrix:
|
||||
os: [ubuntu-22.04]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Docker Test (${{ matrix.os }})
|
||||
run: sudo make -C scripts/ci docker-test
|
||||
|
||||
|
|
@ -180,7 +180,7 @@ jobs:
|
|||
needs: [alpine-test]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Fedora ASAN Test
|
||||
run: sudo -E make -C scripts/ci fedora-asan
|
||||
|
||||
|
|
@ -197,7 +197,7 @@ jobs:
|
|||
- os: ubuntu-24.04-arm
|
||||
name: aarch64 Fedora Rawhide
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Fedora Rawhide Test
|
||||
# We need to pass environment variables from the CI environment to
|
||||
# distinguish between CI environments. However, we need to make sure that
|
||||
|
|
@ -227,7 +227,7 @@ jobs:
|
|||
name: Non-Root
|
||||
reboot: false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./.github/actions/lima-vm-setup
|
||||
with:
|
||||
template: fedora
|
||||
|
|
@ -250,13 +250,13 @@ jobs:
|
|||
needs: [alpine-test]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Coverage Tests
|
||||
run: sudo -E make -C scripts/ci local GCOV=1
|
||||
- name: Run gcov
|
||||
run: sudo -E find . -name '*gcda' -type f -print0 | sudo -E xargs --null --max-args 128 gcov
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
|
|
@ -264,7 +264,7 @@ jobs:
|
|||
needs: [alpine-test]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Java Test
|
||||
run: sudo make -C scripts/ci java-test
|
||||
|
||||
|
|
@ -272,14 +272,14 @@ jobs:
|
|||
needs: [alpine-test]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- run: sudo make -C scripts/ci loongarch64-qemu-test
|
||||
|
||||
nftables-test:
|
||||
needs: [alpine-test]
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Remove iptables
|
||||
run: sudo apt remove -y iptables
|
||||
- name: Install libnftables-dev
|
||||
|
|
@ -295,7 +295,7 @@ jobs:
|
|||
needs: [alpine-test]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run Podman Test
|
||||
run: sudo make -C scripts/ci podman-test
|
||||
|
||||
|
|
@ -303,7 +303,7 @@ jobs:
|
|||
needs: [alpine-test]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run CRIU Image Streamer Test
|
||||
run: sudo -E make -C scripts/ci local STREAM_TEST=1
|
||||
|
||||
|
|
@ -311,7 +311,7 @@ jobs:
|
|||
needs: [alpine-test]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run X86_64 CLANG Test
|
||||
run: sudo make -C scripts/ci x86_64 CLANG=1
|
||||
|
||||
|
|
@ -319,6 +319,6 @@ jobs:
|
|||
needs: [alpine-test]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Run X86_64 GCC Test
|
||||
run: sudo make -C scripts/ci x86_64
|
||||
|
|
|
|||
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install Packages (cpp)
|
||||
if: ${{ matrix.language == 'cpp' }}
|
||||
|
|
|
|||
2
.github/workflows/cross-compile-daily.yml
vendored
2
.github/workflows/cross-compile-daily.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
branches: [criu-dev, master]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ matrix.branches }}
|
||||
- name: Run Cross Compilation Targets
|
||||
|
|
|
|||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
- name: Install tools
|
||||
run: sudo dnf -y install git make ruff xz clang-tools-extra codespell git-clang-format ShellCheck
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- name: Set git safe directory
|
||||
# https://github.com/actions/checkout/issues/760
|
||||
|
|
|
|||
2
.github/workflows/manage-labels.yml
vendored
2
.github/workflows/manage-labels.yml
vendored
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
if: github.event_name == 'issue_comment'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mondeja/remove-labels-gh-action@v1
|
||||
- uses: mondeja/remove-labels-gh-action@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
labels: |
|
||||
|
|
|
|||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v5
|
||||
- uses: actions/stale@v10
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'A friendly reminder that this issue had no activity for 30 days.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue