From edc3bd12f5e11c4c18bd08759980d9d9af2141d1 Mon Sep 17 00:00:00 2001 From: Hung Nguyen Date: Wed, 16 Oct 2024 16:19:26 +0700 Subject: [PATCH] CONFIG: Specify OS version during run testing --- .github/workflows/build.yml | 6 +++--- .github/workflows/pre-merge.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d2f5454c..5a70c6b32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: branches: [master] jobs: jruby-gem-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 @@ -25,7 +25,7 @@ jobs: env: GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} rubygems-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 @@ -37,7 +37,7 @@ jobs: env: GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} gem-smoke-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [jruby-gem-release, rubygems-release] strategy: matrix: diff --git a/.github/workflows/pre-merge.yml b/.github/workflows/pre-merge.yml index dabad6036..c1127bc89 100644 --- a/.github/workflows/pre-merge.yml +++ b/.github/workflows/pre-merge.yml @@ -6,7 +6,7 @@ on: - master jobs: unit-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: ruby-version: [2.5, 2.6, 2.7.6, 3.2.1, jruby-9.2.21, jruby-9.3.14, jruby-9.4.1]