Skip to content

Commit

Permalink
Merge pull request #7 from DeNA/feature/fix-workflow
Browse files Browse the repository at this point in the history
Update workflow
  • Loading branch information
genya0407 authored Jul 4, 2024
2 parents 303403c + 22b2bcc commit f336558
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@ jobs:
fail-fast: false
matrix:
ruby:
- '3.0'
- '3.1'
- '3.2'
- "3.0"
- "3.1"
- "3.2"
mysql:
- '5.7'
- '8.0'
- "5.7"
- "8.0"
services:
db:
image: mysql:${{ matrix.mysql }}
ports:
- 3306:3306
env:
MYSQL_ALLOW_EMPTY_PASSWORD: 'true'
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test and type check
run: |
bundle exec steep check
bundle exec rspec
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test and type check
run: |
bundle exec steep check
bundle exec rspec
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
mysql_rewinder (0.1.1)
mysql_rewinder (0.1.2)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -99,4 +99,4 @@ DEPENDENCIES
trilogy

BUNDLED WITH
2.3.15
2.5.10

0 comments on commit f336558

Please sign in to comment.