Skip to content

Commit

Permalink
Update GHA config
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Mar 15, 2024
1 parent 6c1ed87 commit 3ba3d64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ jobs:
fail-fast: false
matrix:
ruby:
- '3.3'
- '3.2'
- '3.1'
- '3.0'
- '2.7'
# TODO: re-add both as a separate workflow because it's just too slow
# - jruby
# - truffleruby
group: [rom, compat]
include:
- ruby: '3.1'
- ruby: '3.3'
coverage: 'false'
use_dry_transformer_main: 'true'
use_rom_sql_main: 'true'
Expand All @@ -50,18 +51,19 @@ jobs:
SPEC_GROUP: "${{matrix.group}}"
services:
postgres:
image: postgres:10.8
image: postgres:16.2
env:
POSTGRES_USER: runner
POSTGRES_PASSWORD: ''
POSTGRES_DB: rom_repository
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5432:5432
options: "--health-cmd pg_isready --health-interval 10s --health-timeout 5s
--health-retries 5"
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Install package dependencies
run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
- name: Set up Ruby
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docsite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: "2.6.x"
ruby-version: "3.3.x"
- name: Set up git user
run: |
git config --local user.email "rom-bot@rom-rb.org"
Expand Down Expand Up @@ -60,4 +60,3 @@ jobs:
GITHUB_LOGIN: rom-bot
GITHUB_TOKEN: ${{secrets.GH_PAT}}
run: ossy github workflow rom-rb/rom-rb.org ci

4 changes: 2 additions & 2 deletions .github/workflows/sync_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
steps:
- name: Checkout ${{github.repository}}
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Checkout devtools
uses: actions/checkout@v2
with:
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: "2.7"
ruby-version: "3.3"
- name: Install dependencies
run: gem install ossy --no-document
- name: Update changelog.yml from commit
Expand Down

0 comments on commit 3ba3d64

Please sign in to comment.