Properly treating parameters within the action (#23) #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push] | |
jobs: | |
chat: | |
name: Checks | |
runs-on: macos-11 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- uses: actions/[email protected] | |
id: bundler-cache | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- name: Bundler | |
run: | | |
gem install bundler | |
bundle config path vendor/bundle | |
bundle check || bundle install --jobs 4 --retry 3 | |
- name: Tests | |
run: bundle exec rake |