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]