From dc580fbf5ec0c1749f954b6b9317c1837b282669 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 2 Aug 2023 12:18:07 +0200 Subject: [PATCH] ci: Move to actions/checkout@v3 version v2 has been deprecated for a long time, and is throwing warnings. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a761550cd..531f07b99b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ jobs: image: fedora:rawhide options: --security-opt seccomp=unconfined steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: dnf install --nogpgcheck -y git-core checkpolicy policycoreutils-devel make m4 findutils - run: git clone --depth=1 https://github.com/containers/container-selinux.git /tmp/container-selinux - run: cp /tmp/container-selinux/container.* policy/modules/contrib @@ -21,7 +21,7 @@ jobs: options: --security-opt seccomp=unconfined steps: - run: dnf install --nogpgcheck -y make git-core rpm-build 'dnf-command(builddep)' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # https://github.blog/2022-04-12-git-security-vulnerability-announced/ - run: git config --global --add safe.directory "$PWD" - run: make -C .copr srpm outdir="$PWD"