From b161632b897916a8bab2bee90959b5f5d72e971c Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 30 Sep 2021 08:46:15 +0200 Subject: [PATCH 1/2] CI: Add gems caching with bundler-cache: true --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7a287f..f9fc26e 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 # 'bundle install' and cache - name: Run test - run: rake test + run: bundle exec rake test From 5dc7104e99693e07d0e33e4df574658f744306f9 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 13 Oct 2021 13:25:39 +0200 Subject: [PATCH 2/2] CI: add Ruby 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 f9fc26e..c93b272 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, head ] + ruby: [ '3.0', 2.7, 2.6, head ] os: [ ubuntu-latest, macos-latest ] runs-on: ${{ matrix.os }} steps: