From d55739fd994379e51c15314c718e8014086c1d7a Mon Sep 17 00:00:00 2001 From: mikeeq Date: Thu, 4 Jul 2024 03:23:53 +0200 Subject: [PATCH] update pipelines --- .github/workflows/build-iso.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-iso.yml b/.github/workflows/build-iso.yml index 3d4b451..f430cc4 100644 --- a/.github/workflows/build-iso.yml +++ b/.github/workflows/build-iso.yml @@ -5,10 +5,11 @@ name: Build Fedora ISO on: [push] jobs: - tests: - runs-on: ubuntu-22.04 + test: + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v4 - name: "AgentInfo" run: ./.github/agent-info.sh - name: "YamlLint" @@ -18,9 +19,9 @@ jobs: -w /repo \ -v $(pwd):/repo \ -t \ - alpine:3.16 /bin/sh -c " \ + alpine:3.20 /bin/sh -c " \ apk add --no-cache py-pip python3 bash \ - && pip3 install yamllint \ + && pip3 install --break-system-packages yamllint \ && yamllint -s . \ " - name: "ShellCheck" @@ -30,14 +31,16 @@ jobs: -w /repo \ -v $(pwd):/repo \ -t \ - alpine:3.16 /bin/sh -c " \ + alpine:3.20 /bin/sh -c " \ apk add --no-cache shellcheck bash \ && shellcheck $(find . -type f -name "*.sh" | tr '\n' ' ') " build-gnome: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 + needs: test steps: - - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v4 - name: "Build Fedora Gnome ISO" run: ./build_in_docker.sh env: @@ -56,9 +59,11 @@ jobs: - name: "AgentInfo" run: ./.github/agent-info.sh build-kde: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 + needs: test steps: - - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v4 - name: "Build Fedora KDE ISO" run: ./build_in_docker.sh env: