From 7cebe4e000d3d741f10c7be2be966c214714d069 Mon Sep 17 00:00:00 2001 From: Peter Goldstein Date: Mon, 12 Dec 2022 11:14:20 -0500 Subject: [PATCH] Update cache and checkout action versions to v3 --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/experimental.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3bb75015..1aa7b39df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,13 +10,13 @@ jobs: code-style: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.1.0 - name: Gems cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/gems key: gems-3.0.0-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }} @@ -47,13 +47,13 @@ jobs: - ruby-head - jruby-9.3 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Gems cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/gems key: gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }} diff --git a/.github/workflows/experimental.yml b/.github/workflows/experimental.yml index e04b85f77..a442b78e0 100644 --- a/.github/workflows/experimental.yml +++ b/.github/workflows/experimental.yml @@ -14,13 +14,13 @@ jobs: ruby: - truffleruby-head steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Gems cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/gems key: gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }} @@ -33,4 +33,4 @@ jobs: bundle config path ~/gems bundle install --jobs 4 --retry 3 - name: Run tests - run: bundle exec rake spec \ No newline at end of file + run: bundle exec rake spec