.github/workflows: fix glibc issues in installer.yml

Fix glibc incompatibility issues between older ubuntu versions and the
newer checkout@v4 actions by selectively using the older checkout@v3
code for these targets.

Updates #cleanup
This commit is contained in:
Patrick O'Doherty 2024-04-15 10:52:48 -07:00
parent 7f4cda23ac
commit 4de947ce7e
No known key found for this signature in database

View File

@ -6,12 +6,13 @@ on:
- "main"
paths:
- scripts/installer.sh
- .github/workflows/installer.yml
pull_request:
branches:
- "*"
paths:
- scripts/installer.sh
- .github/workflows/installer.yml
jobs:
test:
strategy:
@ -32,12 +33,10 @@ jobs:
- "ubuntu:18.04"
- "ubuntu:20.04"
- "ubuntu:22.04"
- "ubuntu:22.10"
- "ubuntu:23.04"
- "elementary/docker:stable"
- "elementary/docker:unstable"
- "parrotsec/core:lts-amd64"
- "parrotsec/core:latest"
- "kalilinux/kali-rolling"
- "kalilinux/kali-dev"
- "oraclelinux:9"
@ -90,8 +89,8 @@ jobs:
|| contains(matrix.image, 'elementary')
|| contains(matrix.image, 'parrotsec')
|| contains(matrix.image, 'kalilinux')
- name: checkout
uses: actions/checkout@v4
- name: checkout v4
uses: actions/checkout@v3
- name: run installer
run: scripts/installer.sh
# Package installation can fail in docker because systemd is not running