From 26257a3f357740237c485625ad7378cafba26651 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 24 Mar 2022 18:43:51 +0900 Subject: [PATCH 1/4] Added 3.1 and 3.0 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5ef52c6..b9a4309 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: name: build (${{ matrix.ruby }} / ${{ matrix.os }}) strategy: matrix: - ruby: [ 2.7, 2.6, 2.5, head ] + ruby: [ 3.1, "3.0", 2.7, 2.6, 2.5, head ] os: [ ubuntu-latest, macos-latest ] runs-on: ${{ matrix.os }} steps: From 435291ad3e44848f178d14e8f05949204a358b3c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 24 Mar 2022 18:43:58 +0900 Subject: [PATCH 2/4] Use actions/checkout@v3 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b9a4309..93b9a6d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: os: [ ubuntu-latest, macos-latest ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: From bfe962a518e0b14758f075909abba17db099f9fe Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 24 Mar 2022 18:44:14 +0900 Subject: [PATCH 3/4] Use bundler-cache on setup-ruby --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 93b9a6d..bca26b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,6 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: Install dependencies - run: bundle install + bundler-cache: true - name: Run test run: rake test From 7de75ac80021b25421e843a26d40c6b0a0dd546e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 24 Mar 2022 18:46:29 +0900 Subject: [PATCH 4/4] Drop to support Ruby 2.6 and 2.5 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bca26b0..a0b74cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: name: build (${{ matrix.ruby }} / ${{ matrix.os }}) strategy: matrix: - ruby: [ 3.1, "3.0", 2.7, 2.6, 2.5, head ] + ruby: [ 3.1, "3.0", 2.7, head ] os: [ ubuntu-latest, macos-latest ] runs-on: ${{ matrix.os }} steps: