From 90636d5950d657a516d3694dd41f819287d7cfdc Mon Sep 17 00:00:00 2001 From: Yusuke Sangenya Date: Thu, 4 Jul 2024 22:04:21 +0900 Subject: [PATCH 1/3] lint --- .github/workflows/main.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e3deaa..e05bd41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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@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 From 45cef7c011867076a50f9b979775b887d99a1a8c Mon Sep 17 00:00:00 2001 From: Yusuke Sangenya Date: Thu, 4 Jul 2024 22:04:33 +0900 Subject: [PATCH 2/3] Upgrade checkout --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e05bd41..c6d57c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: --health-timeout 5s --health-retries 5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: From 22b2bcce1ad4ab80d02269ff64f5c1d6da7735b7 Mon Sep 17 00:00:00 2001 From: Yusuke Sangenya Date: Thu, 4 Jul 2024 22:08:05 +0900 Subject: [PATCH 3/3] bundle lock --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8531b60..83cf658 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - mysql_rewinder (0.1.1) + mysql_rewinder (0.1.2) GEM remote: https://rubygems.org/ @@ -99,4 +99,4 @@ DEPENDENCIES trilogy BUNDLED WITH - 2.3.15 + 2.5.10