-
-
Notifications
You must be signed in to change notification settings - Fork 520
Apply bundler-cache to CI's Ruby setup #2204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
487fd88 to
0468308
Compare
| ruby-version: ${{ matrix.ruby_version }} | ||
| bundler: "2.3" | ||
| - name: Set up Ruby ${{ matrix.ruby_version }} | ||
| uses: ruby/setup-ruby@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.
| sudo apt-get update | ||
| sudo apt-get install libsqlite3-dev imagemagick | ||
| - name: Set up Ruby ${{ matrix.ruby_version }} | ||
| uses: ruby/setup-ruby@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.
| bundler: "2.3" | ||
| - uses: actions/checkout@v1 | ||
| - name: Set up Ruby ${{ matrix.ruby_version }} | ||
| uses: ruby/setup-ruby@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.
| with: | ||
| redis-version: 5 | ||
| - name: Start Redis | ||
| uses: supercharge/redis-github-action@1.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.
| ruby-version: ${{ matrix.ruby_version }} | ||
| bundler: "2.3" | ||
| - name: Set up Ruby ${{ matrix.ruby_version }} | ||
| uses: ruby/setup-ruby@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.
| with: | ||
| redis-version: ${{ matrix.sidekiq_version == '7.0' && 6 || 5 }} | ||
| - name: Start Redis | ||
| uses: supercharge/redis-github-action@1.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2204 +/- ##
==========================================
- Coverage 97.41% 97.34% -0.07%
==========================================
Files 97 100 +3
Lines 3671 3734 +63
==========================================
+ Hits 3576 3635 +59
- Misses 95 99 +4
|
0468308 to
8b18a8a
Compare
| ruby-version: ${{ matrix.ruby_version }} | ||
| bundler: "2.3" | ||
| - name: Set up Ruby ${{ matrix.ruby_version }} | ||
| uses: ruby/setup-ruby@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 Please pin the action by specifying a commit SHA instead of a tag/branch.
|
I think danger is failing for an unrelated reason: |
sl0thentr0py
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh nice
|
danger is failing because it wants you to pin the SHA for github actions, we can ignore that |
bundler-cacheshould automatically pick the right bundler version for us.I also applied prettier formatting to the files as I do think it improves readability.
#skip-changelog