Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Pin Ruby workflow jobs to Ubuntu 24.04 (#4546)

Juan José Mataa6767e93114a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 02b9209730..25eed780e3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,8 +10,9 @@ on:
default: false
jobs:
+ # The pinned ruby/setup-ruby action does not support Ubuntu 26.04.
scan_ruby:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
@@ -29,7 +30,7 @@ jobs:
run: bin/brakeman --no-pager
scan_js:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
@@ -65,7 +66,7 @@ jobs:
done
lint:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
@@ -105,7 +106,7 @@ jobs:
run: npm run lint
test_unit:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 20
env:
@@ -177,7 +178,7 @@ jobs:
bin/rails test "${files[@]}"
test_system:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 25
env:
diff --git a/.github/workflows/llm-evals.yml b/.github/workflows/llm-evals.yml
index 249afa96ba..cbbe5a981f 100644
--- a/.github/workflows/llm-evals.yml
+++ b/.github/workflows/llm-evals.yml
@@ -77,7 +77,8 @@ jobs:
name: Discover eval datasets
needs: check_openai
if: needs.check_openai.outputs.should_run == 'true'
- runs-on: ubuntu-latest
+ # The pinned ruby/setup-ruby action does not support Ubuntu 26.04.
+ runs-on: ubuntu-24.04
services:
postgres:
@@ -180,7 +181,7 @@ jobs:
name: Run eval for ${{ matrix.dataset }} on ${{ matrix.model }}
needs: [check_openai, discover_datasets]
if: needs.check_openai.outputs.should_run == 'true'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
strategy:
fail-fast: false