.github/workflows/test.yml in gemika-0.8.1 vs .github/workflows/test.yml in gemika-0.8.2
- old
+ new
@@ -26,21 +26,21 @@
- ruby: 2.5.3
gemfile: Gemfile.5.2.mysql2
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Setup database
run: |
mysql -e 'create database IF NOT EXISTS test;' -u root --password=password -P 3306 -h 127.0.0.1
- name: Bundle
run: |
- gem install bundler:2.2.15
+ gem install bundler:2.3.1
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec
test_pg:
runs-on: ubuntu-20.04
@@ -70,11 +70,11 @@
- ruby: 3.2.0
gemfile: Gemfile.7.0.pg
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Setup database
@@ -82,11 +82,11 @@
sudo apt-get update
sudo apt-get install -y postgresql-client
PGPASSWORD=postgres psql -c 'create database test;' -U postgres -p 5432 -h localhost
- name: Bundle
run: |
- gem install bundler:2.2.15
+ gem install bundler:2.3.1
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec
test_sqlite:
runs-on: ubuntu-20.04
@@ -97,16 +97,16 @@
- ruby: 2.5.3
gemfile: Gemfile.5.2.sqlite3
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Bundle
run: |
- gem install bundler:2.2.15
+ gem install bundler:2.3.1
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec