Skip to content

Commit

Permalink
CI: Update workflows to use latest versions of the actions
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vt-alt committed Aug 21, 2023
1 parent 47191f9 commit 59ccb1a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
options: --security-opt seccomp=unconfined

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- run: cat /etc/os-release
- run: ${{ matrix.run }}
- run: make -j$(nproc) KERNELRELEASE=$(cd /lib/modules; ls)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mkosi-boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mkosi-mainline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59ccb1a

Please sign in to comment.