.github/workflows/ruby-tests.yml in i18n-js-4.0.0.alpha1 vs .github/workflows/ruby-tests.yml in i18n-js-4.0.0.alpha2
- old
+ new
@@ -1,49 +1,37 @@
---
name: ruby-tests
on:
pull_request:
- branches:
- - main
-
push:
- branches:
- - main
- - v4
-
- schedule:
- - cron: "0 10 * * *"
-
workflow_dispatch:
inputs: {}
jobs:
build:
name: Tests with Ruby ${{ matrix.ruby }} and ${{ matrix.gemfile }}
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
- ruby: [2.6.x, 2.7.x, 3.0.x]
+ ruby: ["2.7", "3.0"]
gemfile:
- Gemfile
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
+ id: bundler-cache
with:
path: vendor/bundle
key: >
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
hashFiles(matrix.gemfile) }}
- restore-keys: >
- ${{ runner.os }}-${{ matrix.ruby }}-gems-${{
- hashFiles(matrix.gemfile) }}
- name: Set up Ruby
- uses: actions/setup-ruby@v1
+ uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install gem dependencies
env: