未验证 提交 0b43409e 编写于 作者: Y y-yagi 提交者: GitHub

Merge pull request #37612 from yahonda/enable_actions_cache

Cache gems for GitHub Actions
......@@ -15,7 +15,15 @@ jobs:
- name: Install required package
run: |
sudo apt-get install libmysqlclient-dev libpq-dev libsqlite3-dev libncurses5-dev
- name: Cache gems
uses: actions/cache@preview
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Build and run RuboCop
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
bundle exec rubocop --parallel
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册