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 e2d0781 commit 91900e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ jobs:
fail-fast: false
matrix:
ruby:
- '3.3'
- '3.2'
- '3.1'
- '3.0'
- '2.7'
include:
- ruby: '3.1'
- ruby: '3.3'
use_dry_transformer_master: 'true'
use_use_rom_sql_master: 'true'
env:
Expand All @@ -44,7 +45,7 @@ jobs:
CODACY_PROJECT_TOKEN: "${{secrets.CODACY_PROJECT_TOKEN}}"
APT_DEPS: libpq-dev libsqlite3-dev
steps:
- 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 All @@ -67,7 +68,7 @@ jobs:
coverage-reports: coverage/coverage.xml
services:
db:
image: postgres:10.8
image: postgres:16.2
env:
POSTGRES_USER: runner
POSTGRES_PASSWORD: ''
Expand All @@ -84,13 +85,13 @@ jobs:
GITHUB_LOGIN: rom-bot
GITHUB_TOKEN: "${{secrets.GH_PAT}}"
steps:
- 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
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
ruby-version: 3.3
- name: Install dependencies
run: gem install ossy --no-document
- name: Trigger release workflow
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/custom/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jobs:
tests:
services:
db:
image: postgres:10.8
image: postgres:16.2
env:
POSTGRES_USER: runner
POSTGRES_PASSWORD: ""
Expand All @@ -13,14 +13,12 @@ jobs:
strategy:
matrix:
ruby:
- "3.3"
- "3.2"
- "3.1"
- "3.0"
- "2.7"
- "2.6"
- "2.5"
- "jruby"
- "truffleruby"
include:
- ruby: "2.7"
- ruby: "3.3"
coverage: "true"
use_transproc_master: "true"
use_use_rom_sql_master: "true"
Expand Down

0 comments on commit 91900e4

Please sign in to comment.