From c8fc8b272776242d702ef279e40a04f403ff9822 Mon Sep 17 00:00:00 2001 From: Zakaria Fatahi Date: Wed, 13 Apr 2022 09:36:47 +0200 Subject: [PATCH] bundler-cache runs bundle install automatically --- .github/workflows/lint.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7984fe1..3eed51e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,9 +1,5 @@ name: Lint -on: - push: - branches: [main] - pull_request: - branches: [main] +on: [push, pull_request] jobs: overcommit: @@ -16,8 +12,8 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 - bundler-cache: true + ruby-version: 3.0.3 # Not needed with a .ruby-version file + bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Install Node.js uses: actions/setup-node@v3 @@ -29,9 +25,6 @@ jobs: npm install yarn yarn --version - - name: bundle install - run: bundle install - - name: yarn install run: yarn install