From 59ae39bfee3921408a1aff5d2105f126a93597a1 Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov Date: Mon, 25 Nov 2024 10:30:21 +0300 Subject: [PATCH] cfl: fix randomly failed builds GitHub action builds started to randomly fail with a reason: "The runner has received a shutdown signal.". The issue [1] and discussion [2] points to a workaround: replace a "ubuntu-latest" with "ubuntu-22.04" and it started to work. The patch replaces "ubuntu-latest" with "ubuntu-22.04" in CFL workflows. 1. https://github.com/actions/runner-images/issues/6709 2. https://github.com/actions/runner-images/discussions/7188 --- .github/workflows/cflite_batch.yml | 2 +- .github/workflows/cflite_build.yml | 2 +- .github/workflows/cflite_cron.yml | 4 ++-- .github/workflows/cflite_pr.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cflite_batch.yml b/.github/workflows/cflite_batch.yml index cbf841a..c07bae3 100644 --- a/.github/workflows/cflite_batch.yml +++ b/.github/workflows/cflite_batch.yml @@ -15,7 +15,7 @@ permissions: read-all jobs: luajit: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/cflite_build.yml b/.github/workflows/cflite_build.yml index f03ed2b..6e85793 100644 --- a/.github/workflows/cflite_build.yml +++ b/.github/workflows/cflite_build.yml @@ -10,7 +10,7 @@ permissions: read-all jobs: luajit: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/cflite_cron.yml b/.github/workflows/cflite_cron.yml index bf11a64..42a4fa2 100644 --- a/.github/workflows/cflite_cron.yml +++ b/.github/workflows/cflite_cron.yml @@ -16,7 +16,7 @@ jobs: # are covered by fuzzing. Coverage: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup @@ -46,7 +46,7 @@ jobs: # code coverage. Pruning: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup diff --git a/.github/workflows/cflite_pr.yml b/.github/workflows/cflite_pr.yml index 39c1c29..586448c 100644 --- a/.github/workflows/cflite_pr.yml +++ b/.github/workflows/cflite_pr.yml @@ -35,7 +35,7 @@ permissions: read-all jobs: luajit: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: