.github/workflows/ci.yml in datewari-1.1.0 vs .github/workflows/ci.yml in datewari-1.1.1
- old
+ new
@@ -2,14 +2,14 @@
on: [push, pull_request]
jobs:
test:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
services:
postgres:
- image: postgis/postgis:10-2.5
+ image: postgis/postgis:15-3.4
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
@@ -22,24 +22,33 @@
- 3306:3306
options: --health-cmd "mysqladmin ping -h localhost" --health-interval 20s --health-timeout 10s --health-retries 10
strategy:
fail-fast: false
matrix:
- ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1]
- gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70']
+ ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3]
+ gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70', 'rails71']
database: ['mysql', 'postgresql', 'postgis']
exclude:
- ruby: 2.4
gemfile: rails60
- ruby: 2.4
gemfile: rails61
- ruby: 2.4
gemfile: rails70
+ - ruby: 2.4
+ gemfile: rails71
- ruby: 2.5
gemfile: rails70
+ - ruby: 2.5
+ gemfile: rails71
- ruby: 2.6
gemfile: rails70
+ - ruby: 2.6
+ gemfile: rails71
+ - ruby: 2.7
+ gemfile: rails71
+ database: postgis
- ruby: 3.0
gemfile: rails50
- ruby: 3.0
gemfile: rails51
- ruby: 3.0
@@ -48,20 +57,32 @@
gemfile: rails50
- ruby: 3.1
gemfile: rails51
- ruby: 3.1
gemfile: rails52
+ - ruby: 3.2
+ gemfile: rails50
+ - ruby: 3.2
+ gemfile: rails51
+ - ruby: 3.2
+ gemfile: rails52
+ - ruby: 3.3
+ gemfile: rails50
+ - ruby: 3.3
+ gemfile: rails51
+ - ruby: 3.3
+ gemfile: rails52
name: ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}, ${{ matrix.database }}
env:
DATABASE: ${{ matrix.database }}
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Prepare test