]> git.openstreetmap.org Git - rails.git/blobdiff - .github/workflows/tests.yml
Merge pull request #3104 from fredrik-lindseth/patch-1
[rails.git] / .github / workflows / tests.yml
index b111da9338262b0a2a5a8e9c84f2d8bb11217c0b..04caddf41b5061d8c6de37b61019e49985772718 100644 (file)
@@ -15,20 +15,20 @@ jobs:
       OPENSTREETMAP_MEMCACHE_SERVERS: 127.0.0.1
     steps:
     - name: Checkout source
       OPENSTREETMAP_MEMCACHE_SERVERS: 127.0.0.1
     steps:
     - name: Checkout source
-      uses: actions/checkout@v1
+      uses: actions/checkout@v2.3.4
     - name: Setup ruby
       uses: actions/setup-ruby@v1
       with:
         ruby-version: ${{ matrix.ruby }}
     - name: Cache gems
     - name: Setup ruby
       uses: actions/setup-ruby@v1
       with:
         ruby-version: ${{ matrix.ruby }}
     - name: Cache gems
-      uses: actions/cache@v1
+      uses: actions/cache@v2.1.5
       with:
         path: vendor/bundle
         key: bundle-ubuntu-${{ matrix.ubuntu }}-ruby-${{ matrix.ruby }}-${{ hashFiles('Gemfile.lock') }}
         restore-keys: |
           bundle-ubuntu-${{ matrix.ubuntu }}-ruby-${{ matrix.ruby }}-
     - name: Cache node modules
       with:
         path: vendor/bundle
         key: bundle-ubuntu-${{ matrix.ubuntu }}-ruby-${{ matrix.ruby }}-${{ hashFiles('Gemfile.lock') }}
         restore-keys: |
           bundle-ubuntu-${{ matrix.ubuntu }}-ruby-${{ matrix.ruby }}-
     - name: Cache node modules
-      uses: actions/cache@v1
+      uses: actions/cache@v2.1.5
       with:
         path: node_modules
         key: yarn-ubuntu-${{ matrix.ubuntu }}-${{ hashFiles('yarn.lock') }}
       with:
         path: node_modules
         key: yarn-ubuntu-${{ matrix.ubuntu }}-${{ hashFiles('yarn.lock') }}