diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c9e01e903a6..79acf6e26e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,18 +11,13 @@ jobs: uses: actions/checkout@v2.4.0 - name: Set up Ruby - uses: actions/setup-ruby@v1.1.3 + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true - name: Set up Node uses: actions/setup-node@v2.5.1 - - name: Restore bundler cache - uses: actions/cache@v2.1.7 - with: - path: vendor/gems - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: ${{ runner.os }}-gems- - - name: Bootstrap run: script/bootstrap diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000000..a603bb50a29 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.7.5