From c691e7450feb58c369bf847f9369fa054386900f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 24 Mar 2022 20:09:06 +0900 Subject: [PATCH 1/3] Added 3.1 --- .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 8fe6b4a..c2f98af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: test: strategy: matrix: - ruby: [ '3.0', 2.7, 2.6, 2.5, 2.4, head ] + ruby: [ 3.1, '3.0', 2.7, 2.6, 2.5, 2.4, head ] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: From 7a2ac108ae578dc81284427c9bda50b87a5596b3 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 24 Mar 2022 20:09:11 +0900 Subject: [PATCH 2/3] 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 c2f98af..26d4886 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: os: [ubuntu-latest, macos-latest, windows-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 0215457eb0036b14d64dec9c719bde1e680ed0bd Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 24 Mar 2022 20:09:23 +0900 Subject: [PATCH 3/3] 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 26d4886..ecc4442 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,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