From: Tom Hughes Date: Tue, 12 Jan 2021 22:41:53 +0000 (+0000) Subject: Use latest major version for all github actions X-Git-Tag: live~2320 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/f041893ead4ee6e96baf8819319b3c089f8c3595 Use latest major version for all github actions --- 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') }}