X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d3b2b47964ec91ef1ab1946b7258a06665caced..84c4ed3fa8e203aa4c84cbf4d735bfcbe456be8c:/.github/workflows/lint.yml?ds=sidebyside diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 06f6ff841..8383068b3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,12 +6,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true env: - os: ubuntu-22.04 ruby: '3.1' jobs: rubocop: name: RuboCop - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v4 @@ -50,12 +49,9 @@ jobs: rubygems: 3.4.10 bundler-cache: true - name: Cache node modules - uses: actions/cache@v4 + uses: actions/setup-node@v4 with: - path: node_modules - key: yarn-${{ env.os }}-${{ hashFiles('yarn.lock') }} - restore-keys: | - yarn-${{ env.os }}- + cache: yarn - name: Install node modules run: bundle exec bin/yarn install - name: Create dummy database configuration