mirror of
https://github.com/openwall/lkrg.git
synced 2023-12-13 21:30:29 +01:00
CI: Update workflows to use latest versions of the actions
This should fix the warning: The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
parent
1ab0d2e983
commit
544479d704
6 changed files with 9 additions and 9 deletions
4
.github/workflows/builds.yml
vendored
4
.github/workflows/builds.yml
vendored
|
@ -25,16 +25,16 @@ jobs:
|
|||
- image: registry.opensuse.org/opensuse/tumbleweed
|
||||
run: zypper -n install -y gcc make kernel-default-devel awk
|
||||
- image: registry.opensuse.org/opensuse/leap
|
||||
run: zypper -n install -y gcc make kernel-default-devel
|
||||
run: zypper -n install -y gcc make kernel-default-devel tar gzip
|
||||
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
options: --security-opt seccomp=unconfined
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: cat /etc/os-release
|
||||
- run: ${{ matrix.run }}
|
||||
- uses: actions/checkout@v3
|
||||
- run: make -j$(nproc) KERNELRELEASE=$(cd /lib/modules; ls)
|
||||
|
||||
# vim: sw=4
|
||||
|
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
|
|
4
.github/workflows/cross.yml
vendored
4
.github/workflows/cross.yml
vendored
|
@ -29,8 +29,8 @@ jobs:
|
|||
- image: i386/ubuntu:bionic
|
||||
packages: libelf-dev linux-headers-generic
|
||||
steps:
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: actions/checkout@v1
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Create Dockerfile
|
||||
run: |
|
||||
cat <<EOF >Dockerfile
|
||||
|
|
4
.github/workflows/docker-boot.yml
vendored
4
.github/workflows/docker-boot.yml
vendored
|
@ -30,14 +30,14 @@ jobs:
|
|||
install: qemu-system-arm
|
||||
|
||||
steps:
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- run: sudo apt-get update
|
||||
# It's possible to update QEMU to (6.0) on focal (ubuntu-20.04) with
|
||||
# add-apt-repository ppa:canonical-server/server-backports
|
||||
# but this is still not enough to boot & power-off raspi2b properly.
|
||||
- run: sudo apt-get install -y qemu-utils e2fsprogs expect ${{ matrix.install }}
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v3
|
||||
- name: Enable LKRG debugging options
|
||||
run: |
|
||||
sed -i '/P_LKRG_JUMP_LABEL_STEXT_DEBUG/s/\/\///' src/modules/print_log/p_lkrg_print_log.h
|
||||
|
|
2
.github/workflows/mkosi-boot.yml
vendored
2
.github/workflows/mkosi-boot.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
- focal
|
||||
- jammy
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get update
|
||||
- run: sudo apt-get install -y debootstrap qemu-system-x86 systemd-container expect
|
||||
- name: Install mkosi from git
|
||||
|
|
2
.github/workflows/mkosi-mainline.yml
vendored
2
.github/workflows/mkosi-mainline.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
if: ${{ github.repository == 'lkrg-org/lkrg' || github.event_name != 'schedule' }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get update
|
||||
- run: sudo apt-get install -y debootstrap qemu-system-x86 systemd-container expect sysvbanner
|
||||
- name: Install mkosi from git
|
||||
|
|
Loading…
Reference in a new issue