diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index f4f88c7..d05c28d 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -19,9 +19,8 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - bundler-cache: false - - name: bundle - run: bundle install + bundler-cache: true + cache-version: 1 - name: Run linters run: bundle exec rubocop --parallel - name: Ruby security checks @@ -57,12 +56,13 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - bundler-cache: false - - name: bundle - run: bundle install + bundler-cache: true + cache-version: 1 + - name: Create database run: | bundle exec rails db:create bundle exec rails db:schema:load + - name: Run tests run: bundle exec rake