diff --git a/.github/workflows/alpine-test.yml b/.github/workflows/alpine-test.yml index 5757fa82b8..73530d79ae 100644 --- a/.github/workflows/alpine-test.yml +++ b/.github/workflows/alpine-test.yml @@ -15,6 +15,6 @@ jobs: target: [GCC=1, CLANG=1] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Alpine ${{ matrix.target }} Test run: sudo -E make -C scripts/ci alpine ${{ matrix.target }} diff --git a/.github/workflows/archlinux-test.yml b/.github/workflows/archlinux-test.yml index ec43707e77..500a60eab2 100644 --- a/.github/workflows/archlinux-test.yml +++ b/.github/workflows/archlinux-test.yml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Arch Linux Test run: sudo -E make -C scripts/ci archlinux diff --git a/.github/workflows/check-commits.yml b/.github/workflows/check-commits.yml index be2fbd2856..0a39c0efe7 100644 --- a/.github/workflows/check-commits.yml +++ b/.github/workflows/check-commits.yml @@ -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@v3 + - uses: actions/checkout@v4 with: # Needed to rebase against the base branch fetch-depth: 0 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 518d9b8ae0..7a52634b9c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,11 +2,11 @@ name: "CodeQL" on: push: - branches: [ "criu-dev", "master" ] + branches: ["criu-dev", "master"] pull_request: - branches: [ "criu-dev" ] + branches: ["criu-dev"] schedule: - - cron: "11 6 * * 3" + - cron: "11 6 * * 3" # Cancel any preceding run on the pull request. concurrency: @@ -25,26 +25,26 @@ jobs: strategy: fail-fast: false matrix: - language: [ python, cpp ] + language: [python, cpp] steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Install Packages (cpp) - if: ${{ matrix.language == 'cpp' }} - run: | - sudo scripts/ci/apt-install protobuf-c-compiler libprotobuf-c-dev libprotobuf-dev build-essential libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnet-dev pkg-config libnl-3-dev libbsd0 libbsd-dev iproute2 libcap-dev libaio-dev libbsd-dev python3-yaml libnl-route-3-dev gnutls-dev - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - queries: +security-and-quality - - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{ matrix.language }}" + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Packages (cpp) + if: ${{ matrix.language == 'cpp' }} + run: | + sudo scripts/ci/apt-install protobuf-c-compiler libprotobuf-c-dev libprotobuf-dev build-essential libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnet-dev pkg-config libnl-3-dev libbsd0 libbsd-dev iproute2 libcap-dev libaio-dev libbsd-dev python3-yaml libnl-route-3-dev gnutls-dev + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/compat-test.yml b/.github/workflows/compat-test.yml index 8612d29ea5..7220c94e3a 100644 --- a/.github/workflows/compat-test.yml +++ b/.github/workflows/compat-test.yml @@ -15,6 +15,6 @@ jobs: target: [GCC, CLANG] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Compat Tests (${{ matrix.target }}) run: sudo -E make -C scripts/ci local COMPAT_TEST=y ${{ matrix.target }}=1 diff --git a/.github/workflows/cross-compile-daily.yml b/.github/workflows/cross-compile-daily.yml index 927ddced26..ae349bc217 100644 --- a/.github/workflows/cross-compile-daily.yml +++ b/.github/workflows/cross-compile-daily.yml @@ -2,7 +2,7 @@ name: Daily Cross Compile Tests on: schedule: - - cron: '30 12 * * *' + - cron: '30 12 * * *' jobs: build: @@ -14,7 +14,7 @@ jobs: branches: [criu-dev, master] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ matrix.branches }} - name: Run Cross Compilation Targets diff --git a/.github/workflows/cross-compile.yml b/.github/workflows/cross-compile.yml index 4da5d397c6..0def27cbb8 100644 --- a/.github/workflows/cross-compile.yml +++ b/.github/workflows/cross-compile.yml @@ -16,24 +16,19 @@ jobs: fail-fast: false matrix: experimental: [false] - target: [ - armv7-stable-cross, - aarch64-stable-cross, - ppc64-stable-cross, - mips64el-stable-cross, - ] + target: [armv7-stable-cross, aarch64-stable-cross, ppc64-stable-cross, mips64el-stable-cross] include: - - experimental: true - target: armv7-unstable-cross - - experimental: true - target: aarch64-unstable-cross - - experimental: true - target: ppc64-unstable-cross - - experimental: true - target: mips64el-unstable-cross + - experimental: true + target: armv7-unstable-cross + - experimental: true + target: aarch64-unstable-cross + - experimental: true + target: ppc64-unstable-cross + - experimental: true + target: mips64el-unstable-cross steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Cross Compilation Targets run: > sudo make -C scripts/ci ${{ matrix.target }} diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index f2bb206084..eb9d42245f 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Docker Test (${{ matrix.os }}) run: sudo make -C scripts/ci docker-test diff --git a/.github/workflows/fedora-asan-test.yml b/.github/workflows/fedora-asan-test.yml index 11233f4575..02dc9a1b3f 100644 --- a/.github/workflows/fedora-asan-test.yml +++ b/.github/workflows/fedora-asan-test.yml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Fedora ASAN Test run: sudo -E make -C scripts/ci fedora-asan diff --git a/.github/workflows/fedora-rawhide-test.yml b/.github/workflows/fedora-rawhide-test.yml index fae544900c..83e2ead825 100644 --- a/.github/workflows/fedora-rawhide-test.yml +++ b/.github/workflows/fedora-rawhide-test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - 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 diff --git a/.github/workflows/gcov-test.yml b/.github/workflows/gcov-test.yml index f221fabb5b..cc4e1d44ac 100644 --- a/.github/workflows/gcov-test.yml +++ b/.github/workflows/gcov-test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Coverage Tests run: sudo -E make -C scripts/ci local GCOV=1 - name: Run gcov diff --git a/.github/workflows/java-test.yml b/.github/workflows/java-test.yml index 43fed1ab34..73b6b9c0be 100644 --- a/.github/workflows/java-test.yml +++ b/.github/workflows/java-test.yml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Java Test run: sudo make -C scripts/ci java-test diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f52bce8123..7cd52694f5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: - name: Install tools run: sudo dnf -y install git make python3-flake8 xz clang-tools-extra which codespell git-clang-format ShellCheck - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set git safe directory # https://github.com/actions/checkout/issues/760 diff --git a/.github/workflows/loongarch64-qemu-test.yml b/.github/workflows/loongarch64-qemu-test.yml index ba22fa25ff..c76fb60146 100644 --- a/.github/workflows/loongarch64-qemu-test.yml +++ b/.github/workflows/loongarch64-qemu-test.yml @@ -11,5 +11,5 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 - - run: sudo make -C scripts/ci loongarch64-qemu-test + - uses: actions/checkout@v4 + - run: sudo make -C scripts/ci loongarch64-qemu-test diff --git a/.github/workflows/podman-test.yml b/.github/workflows/podman-test.yml index e28c376d87..a73c8fb267 100644 --- a/.github/workflows/podman-test.yml +++ b/.github/workflows/podman-test.yml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Podman Test run: sudo make -C scripts/ci podman-test diff --git a/.github/workflows/stream-test.yml b/.github/workflows/stream-test.yml index efb217e16b..76bd96edf7 100644 --- a/.github/workflows/stream-test.yml +++ b/.github/workflows/stream-test.yml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run CRIU Image Streamer Test run: sudo -E make -C scripts/ci local STREAM_TEST=1 diff --git a/.github/workflows/x86-64-clang-test.yml b/.github/workflows/x86-64-clang-test.yml index 78c6eb295d..5815050bc9 100644 --- a/.github/workflows/x86-64-clang-test.yml +++ b/.github/workflows/x86-64-clang-test.yml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run X86_64 CLANG Test run: sudo make -C scripts/ci x86_64 CLANG=1 diff --git a/.github/workflows/x86-64-gcc-test.yml b/.github/workflows/x86-64-gcc-test.yml index a5880d3cf7..88ef399377 100644 --- a/.github/workflows/x86-64-gcc-test.yml +++ b/.github/workflows/x86-64-gcc-test.yml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run X86_64 GCC Test run: sudo make -C scripts/ci x86_64