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 766e516
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
14 changes: 8 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,11 +68,12 @@ jobs:
coverage-reports: coverage/coverage.xml
services:
db:
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
Expand All @@ -84,13 +86,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
13 changes: 6 additions & 7 deletions .github/workflows/custom/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,24 @@ jobs:
tests:
services:
db:
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
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 766e516

Please sign in to comment.