Skip to content

Commit

Permalink
set version of Ubuntu in CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Oct 14, 2024
1 parent 222d5ae commit f193cf0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@ jobs:
(github.event_name == 'schedule' && github.repository_owner == 'asciidoctor') ||
(github.event_name == 'push') ||
(github.event_name == 'pull_request' && !startsWith(github.head_ref, 'docs/'))
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Proceed
run: echo ok go
build:
needs: activate
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-22.04, windows-latest]
ruby: [jruby-9.3, '2.3', '2.7', '3.1']
exclude:
# remove 3.1 on ubuntu-latest to mark as primary
- os: ubuntu-latest
# remove 3.1 on ubuntu-22.04 to mark as primary
- os: ubuntu-22.04
ruby: '3.1'
include:
- os: ubuntu-latest
- os: ubuntu-22.04
ruby: jruby-9.2
- os: ubuntu-latest
- os: ubuntu-22.04
ruby: truffleruby
- os: macos-latest
ruby: '3.1'
- os: ubuntu-latest
- os: ubuntu-22.04
ruby: '3.1'
primary: primary
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
required: false
jobs:
activate:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository_owner == 'asciidoctor' && github.event_name == 'workflow_dispatch'
steps:
- run: echo ok go
perform:
needs: activate
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: releases
steps:
- name: Checkout
Expand Down

0 comments on commit f193cf0

Please sign in to comment.