From f041893ead4ee6e96baf8819319b3c089f8c3595 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 12 Jan 2021 22:41:53 +0000 Subject: [PATCH] Use latest major version for all github actions --- .github/workflows/lint.yml | 8 ++++---- .github/workflows/tests.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e9b7cfd4a..84ce14afc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - name: Check out code uses: actions/checkout@v2 - name: Setup ruby - uses: actions/setup-ruby@v1.1.2 + uses: actions/setup-ruby@v1 with: ruby-version: ${{ env.ruby }} - name: Cache gems @@ -37,7 +37,7 @@ jobs: - name: Check out code uses: actions/checkout@v2 - name: Setup ruby - uses: actions/setup-ruby@v1.1.2 + uses: actions/setup-ruby@v1 with: ruby-version: ${{ env.ruby }} - name: Cache gems @@ -61,7 +61,7 @@ jobs: - name: Check out code uses: actions/checkout@v2 - name: Setup ruby - uses: actions/setup-ruby@v1.1.2 + uses: actions/setup-ruby@v1 with: ruby-version: ${{ env.ruby }} - name: Cache gems @@ -96,7 +96,7 @@ jobs: - name: Check out code uses: actions/checkout@v2 - name: Setup ruby - uses: actions/setup-ruby@v1.1.2 + uses: actions/setup-ruby@v1 with: ruby-version: ${{ env.ruby }} - name: Cache gems diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b111da933..5fcfdf69b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,13 +15,13 @@ jobs: OPENSTREETMAP_MEMCACHE_SERVERS: 127.0.0.1 steps: - name: Checkout source - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Setup ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Cache gems - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: vendor/bundle key: bundle-ubuntu-${{ matrix.ubuntu }}-ruby-${{ matrix.ruby }}-${{ hashFiles('Gemfile.lock') }} -- 2.45.1